Hi, I got the above run-time error ONLY WHEN I set N (see below) greater than or equal to 32.
The outline of my program is as follows: N = 31 # allocate memory on device dA = cuda.to_device(A) dR = cuda.to_device(R) for i in xrange(iter): launch_kernel_1(dA, dR, block=(256,1,1), grid=(N,1), shared = 8*N + 4 * n, texrefs=[mytex]) # n is a number smaller than N launch_kernel_2(dA, dR, block=(256,1,1), grid=(N,1), shared = 8*N) from the traceback, I can see the exception was thrown when launch_kernel_2 was executed. Any help is highly appreciated. Thanks Yifei
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda