On Freitag 18 Dezember 2009, Dan Piponi wrote:
> I have no problem making a struct in global memory and passing in a
> pointer to it. But arguments to kernels get stored in faster memory
> than global memory don't they?

Right. You can pack a struct into a string using Python's struct module, and 
since string support the buffer protocol, they can be passed to PyCUDA 
routines.

HTH,
Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to