I have compiled pycuda 0.92 on a macbook pro (8600M GT). For examples
that use curandom.rand() I get the following error.
Freitas-MacBook-Pro:examples mfreitas$ python demo_elementwise.py
Traceback (most recent call last):
File "demo_elementwise.py", line 7, in ?
a_gpu = curand((50,))
File
"/opt/local/lib/python2.4/site-packages/pycuda-0.92-py2.4-macosx-10.5-i386.egg/pycuda/curandom.py",
line 215, in rand
result.gpudata, numpy.random.randint(2**32), result.size)
File "mtrand.pyx", line 700, in mtrand.RandomState.randint
OverflowError: long int too large to convert to int
I think this is a numpy related error. Has anybody encountered this
error and knows a solution? Both python 2.4 and 2.5 yield the same
error.
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net