On Sun, 01 May 2011 13:50:56 -0400, Andreas Kloeckner <li...@informa.tiker.net> 
wrote:
> I'm leaning towards .bytes and .contig_bytes. Opinions?

When designing this interface, we should take into account that in CL,
we probably need to accommodate two bits of data in the general case:
buffer and offset from start of buffer. (CL doesn't directly support
host-side pointers). There is such a thing as a sub-buffer, but that
doesn't offer sufficient flexibility for negative-stride arrays.

Andreas

Attachment: pgpdUiSsDox5w.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to