Hello.
I've been packaging PyCUDA for Debian.
I run all the tests to ensure that package works on Python 2
and Python 3. All tests pass except for on from test_driver.py:
$ python test_driver.py
============================= test session starts
==============================
platform linux2 -- Python 2.7.5 -- pytest-2.3.5
collected 21 items
test_driver.py ........F............
=================================== FAILURES
===================================
_____________________ TestDriver.test_register_host_memory
_____________________
args = (<test_driver.TestDriver instance at 0x24e7d88>,), kwargs = {}
pycuda = <module 'pycuda' from
'/usr/lib/python2.7/dist-packages/pycuda/__init__.pyc'>
ctx = <pycuda._driver.Context object at 0x2504488>
clear_context_caches = <function clear_context_caches at 0x1dbf848>
collect = <built-in function collect>
def f(*args, **kwargs):
import pycuda.driver
# appears to be idempotent, i.e. no harm in calling it more than
once
pycuda.driver.init()
ctx = make_default_context()
try:
assert isinstance(ctx.get_device().name(), str)
assert isinstance(ctx.get_device().compute_capability(),
tuple)
assert isinstance(ctx.get_device().get_attributes(), dict)
> inner_f(*args, **kwargs)
/usr/lib/python2.7/dist-packages/pycuda/tools.py:434:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <test_driver.TestDriver instance at 0x24e7d88>
@mark_cuda_test
def test_register_host_memory(self):
if drv.get_version() < (4,):
from py.test import skip
skip("register_host_memory only exists on CUDA 4.0 and
later")
import sys
if sys.platform == "darwin":
from py.test import skip
skip("register_host_memory is not supported on OS X")
a = drv.aligned_empty((2**20,), np.float64, alignment=4096)
> drv.register_host_memory(a)
E LogicError: cuMemHostRegister failed: invalid value
test_driver.py:559: LogicError
==================== 1 failed, 20 passed in 116.85 seconds
=====================
This test fails both on ION (GeForce 9400M, CC 1.1) and GeForce 460
(CC 2.1). I've compiled PyCUDA with gcc 4.8, run with kernel 3.9
and drivers 304.88.
Regards.
--
Tomasz Rybak GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A 488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak
On Thu, 29 Aug 2013 07:26:40 -0400
Ahmed Fasih <wuzzyview(a)gmail.com> wrote:
> Since PyCUDA is just a wrapper to the CUDA C library (with >99.9%
> coverage), anything CUDA supports, PyCUDA should support. More directly,
> PyCUDA and K20 work fine for me.
I am running PyCuda on a debian6 computer with a GeForce Titan. Driver is 319.32 and Cuda 4.2.
My only problem is when I try to use scikit.cuda (for CuFFT) where sm_35 is not recognized.
The issue is probably located around the old version of cuda.
If you stick to pure PyCuda, it runs fine.
--
Jérôme Kieffer
On-Line Data analysis / Software Group
ISDD / ESRF
tel +33 476 882 445
Hi Isaac,
It does not need one, it's a pure Python module. Just run "pip install reikna".
On Fri, Nov 1, 2013 at 9:05 AM, Isaac Gerg <isaac.gerg(a)gergltd.com> wrote:
> There's no windows 64bit installer.
>
> On Oct 31, 2013 5:44 PM, "Bogdan Opanchuk" <mantihor(a)gmail.com> wrote:
>>
>> Hi Isaac,
>>
>> You can try my package Reikna (http://reikna.publicfields.net). The
>> FFT there is somewhat slower than the CUFFT one, but it works with
>> Python 3.
>>
>> On Thu, Oct 31, 2013 at 11:54 PM, Isaac Gerg <isaac.gerg(a)gergltd.com>
>> wrote:
>> > They have no support for python 3.2 64 bit :(
>> >
>> > On Oct 31, 2013 5:44 AM, "Ahmed Fasih" <wuzzyview(a)gmail.com> wrote:
>> >>
>> >> scikits.cuda has both high-level and low-level wrappers from PyCUDA to
>> >> CUFFT for all your FFT needs: use the former to do standard tasks
>> >> conveniently, and the latter to make full use of the CUFFT API.
>> >> http://lebedov.github.io/scikits.cuda/reference.html
>> >>
>> >>
>> >> On Wed, Oct 30, 2013 at 10:42 PM, Isaac Gerg <isaac.gerg(a)gergltd.com>
>> >> wrote:
>> >>>
>> >>> When will pycuda get 2d fft support?
>> >>>
>> >>> Isaac
>> >>>
>> >>> _______________________________________________
>> >>> PyCUDA mailing list
>> >>> PyCUDA(a)tiker.net
>> >>> http://lists.tiker.net/listinfo/pycuda
>> >>>
>> >>
>> >
>> > _______________________________________________
>> > PyCUDA mailing list
>> > PyCUDA(a)tiker.net
>> > http://lists.tiker.net/listinfo/pycuda
>> >
There's no windows 64bit installer.
On Oct 31, 2013 5:44 PM, "Bogdan Opanchuk" <mantihor(a)gmail.com> wrote:
> Hi Isaac,
>
> You can try my package Reikna (http://reikna.publicfields.net). The
> FFT there is somewhat slower than the CUFFT one, but it works with
> Python 3.
>
> On Thu, Oct 31, 2013 at 11:54 PM, Isaac Gerg <isaac.gerg(a)gergltd.com>
> wrote:
> > They have no support for python 3.2 64 bit :(
> >
> > On Oct 31, 2013 5:44 AM, "Ahmed Fasih" <wuzzyview(a)gmail.com> wrote:
> >>
> >> scikits.cuda has both high-level and low-level wrappers from PyCUDA to
> >> CUFFT for all your FFT needs: use the former to do standard tasks
> >> conveniently, and the latter to make full use of the CUFFT API.
> >> http://lebedov.github.io/scikits.cuda/reference.html
> >>
> >>
> >> On Wed, Oct 30, 2013 at 10:42 PM, Isaac Gerg <isaac.gerg(a)gergltd.com>
> >> wrote:
> >>>
> >>> When will pycuda get 2d fft support?
> >>>
> >>> Isaac
> >>>
> >>> _______________________________________________
> >>> PyCUDA mailing list
> >>> PyCUDA(a)tiker.net
> >>> http://lists.tiker.net/listinfo/pycuda
> >>>
> >>
> >
> > _______________________________________________
> > PyCUDA mailing list
> > PyCUDA(a)tiker.net
> > http://lists.tiker.net/listinfo/pycuda
> >
>
Hi Isaac,
You can try my package Reikna (http://reikna.publicfields.net). The
FFT there is somewhat slower than the CUFFT one, but it works with
Python 3.
On Thu, Oct 31, 2013 at 11:54 PM, Isaac Gerg <isaac.gerg(a)gergltd.com> wrote:
> They have no support for python 3.2 64 bit :(
>
> On Oct 31, 2013 5:44 AM, "Ahmed Fasih" <wuzzyview(a)gmail.com> wrote:
>>
>> scikits.cuda has both high-level and low-level wrappers from PyCUDA to
>> CUFFT for all your FFT needs: use the former to do standard tasks
>> conveniently, and the latter to make full use of the CUFFT API.
>> http://lebedov.github.io/scikits.cuda/reference.html
>>
>>
>> On Wed, Oct 30, 2013 at 10:42 PM, Isaac Gerg <isaac.gerg(a)gergltd.com>
>> wrote:
>>>
>>> When will pycuda get 2d fft support?
>>>
>>> Isaac
>>>
>>> _______________________________________________
>>> PyCUDA mailing list
>>> PyCUDA(a)tiker.net
>>> http://lists.tiker.net/listinfo/pycuda
>>>
>>
>
> _______________________________________________
> PyCUDA mailing list
> PyCUDA(a)tiker.net
> http://lists.tiker.net/listinfo/pycuda
>
They have no support for python 3.2 64 bit :(
On Oct 31, 2013 5:44 AM, "Ahmed Fasih" <wuzzyview(a)gmail.com> wrote:
> scikits.cuda has both high-level and low-level wrappers from PyCUDA to
> CUFFT for all your FFT needs: use the former to do standard tasks
> conveniently, and the latter to make full use of the CUFFT API.
> http://lebedov.github.io/scikits.cuda/reference.html
>
>
> On Wed, Oct 30, 2013 at 10:42 PM, Isaac Gerg <isaac.gerg(a)gergltd.com>wrote:
>
>> When will pycuda get 2d fft support?
>>
>> Isaac
>>
>> _______________________________________________
>> PyCUDA mailing list
>> PyCUDA(a)tiker.net
>> http://lists.tiker.net/listinfo/pycuda
>>
>>
>
scikits.cuda has both high-level and low-level wrappers from PyCUDA to
CUFFT for all your FFT needs: use the former to do standard tasks
conveniently, and the latter to make full use of the CUFFT API.
http://lebedov.github.io/scikits.cuda/reference.html
On Wed, Oct 30, 2013 at 10:42 PM, Isaac Gerg <isaac.gerg(a)gergltd.com> wrote:
> When will pycuda get 2d fft support?
>
> Isaac
>
> _______________________________________________
> PyCUDA mailing list
> PyCUDA(a)tiker.net
> http://lists.tiker.net/listinfo/pycuda
>
>