Firstly, a big thank you to Andreas for PyCuda, which is really marvelous.

I've gotten PyCuda working happily on Python 2.5, but for a variety of
reasons I need to move to Python 2.6.  I get an error in the PyCuda
driver.py when doing trying to call functions on Python 2.6.  I can
reproduce this error outside my own code by running
($PYCUDA)/test/test_gpuarray.py

Has anyone else seen this, or is it a problem in my particular installation?

Thanks,
bryan

ERROR: test_take (__main__.TestGPUArray)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_gpuarray.py", line 67, in test_take
    idx = gpuarray.arange(0, 200000, 2, dtype=numpy.uint32)
  File 
"/usr/local/lib/python2.6/site-packages/pycuda-0.93rc1-py2.6-linux-i686.egg/pycuda/gpuarray.py",
line 598, in arange
    result.gpudata, start, step, size)
  File 
"/usr/local/lib/python2.6/site-packages/pycuda-0.93rc1-py2.6-linux-i686.egg/pycuda/driver.py",
line 213, in function_prepared_async_call
    func.param_setv(0, pack(func.arg_format, *args))
SystemError: Objects/longobject.c:336: bad argument to internal function

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to