Hi Anthony, On Fri, 24 Jun 2011 11:26:00 -0400, Anthony LaTorre <[email protected]> wrote: > I'm trying to use the GPUArray class to allocate and fill a vector array. > > >>> from pycuda import autoinit > >>> autoinit.device.name() > 'GeForce GTX 470' > >>> from pycuda import gpuarray > >>> a_gpu = gpuarray.GPUArray(100, dtype=gpuarray.vec.float3) > >>> a_gpu.fill(gpuarray.vec.make_float3(0.0, 0.0, 0.0))
Fixed in git. Thanks for the report. (Turned out to be a bit of a large fix.) Andreas
pgpXDUy0akhb2.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
