Hi Nithin, On Mon, 28 Feb 2011 22:52:26 +0530, nithin s <[email protected]> wrote: > consider this code fragment > > shape = np.array(gpuarr.shape,dtype=np.int16) > another_gpuarr = gpuarray.zeros(shape, np.uint8)
This works fine for me. Can you be more specific about which software versions you are using? (Especially numpy?) Andreas
pgpdCeZ9V5Dny.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
