[PyCUDA] problem with gpuarray.zeros in 2011.1.2?

2011-07-07 Thread Lev Givon
The following line of code executes successfully with PyCUDA 0.94.2 but fails when I try to run it with PyCUDA 2011.1.2. x_gpu = gpuarray.zeros(3, np.complex128) The error message is /usr/lib64/python2.6/site-packages/pycuda/gpuarray.pyc in zeros(shape, dtype, allocator, order) 748

Re: [PyCUDA] Error: launch out of resources

2011-07-07 Thread Алексей Гурин
08 июля 2011, 01:12 от Mikhail Korobko koro...@physics.msu.ru: Hello, I'm trying to use PyCUDA for numerical calculations and I have some problems with resourses. I want to integrate some function using Sympson method(scalar multiplication of vector of Sympson coefficients and vector of

Re: [PyCUDA] Error: launch out of resources

2011-07-07 Thread Bogdan Opanchuk
Hello Mikhail, This program worked without any changes on Tesla C2050. Such error message usually points to insufficient number of registers on the device, so try to choose block size = MAX_REGISTERS_PER_BLOCK (device attribute) / func.num_regs Best regards, Bogdan On Fri, Jul 8, 2011 at 1:46