Paul Mullowney <[email protected]> writes: > I've been using PyCuda quite a bit recently. Very nice! > I'm trying to use memcpy_atod to message a chunk of CPU data to the GPU > where the size/shapes of the input and output arrays don't match (though > the size of the data transfer certain does).
memcpy_atod applies to CUDA arrays, not numpy arrays. The equivalent of pointer arithmetic can be achieved by slicing the numpy array. Hope that helps, Andreas
signature.asc
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
