Try to allocate a vector of doubles.  like

import numpy
[snip]

x = gpuarray.to_gpu(numpy.zeros(10, numpy.double ))
[snip]

Fabrizio
--------------------------
Luck favors the prepared mind. (Pasteur)

_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to