On Wed, 9 Mar 2011 22:55:49 +0800, "=?ISO-8859-1?B?U3VtbWl0?="
I installed the pycuda followed by the "Installing PyCuda on Windows - Windows 7
64-bit with Visual Studio Professional 2008 (Strictly Binary Versions) ". The process
seems too success. The base demo(hello_demo) which not used Pycuda.GPUArray can passed.
But when I run all program by pycuda.Gpuarray, I recived this exception message:
Traceback (most recent call last):
File "C:\Users\summit\workspace\JCudaIP\src\pycudatest.py", line 11, in
a_doubled = (2*a_gpu).get()
File "C:\Python27\lib\site-packages\pycuda\gpuarray.py", line 285, in
return self._axpbz(scalar, 0, result)
File "C:\Python27\lib\site-packages\pycuda\gpuarray.py", line 164, in _axpbz
other, out.gpudata, self.mem_size)
File "C:\Python27\lib\site-packages\pycuda\driver.py", line 273, in
pycuda._driver.LaunchError: cuLaunchGrid failed: launch out of resources
This is weird--can you run other PyCUDA demo/test programs? Especially
those under test/? If not, can you run regular CUDA C ones? If so, can
you please run your test program in a debugger and figure out
- what the block/grid size in that launch is?
- what the size of your array is?