On Sun, 01 May 2011 13:50:56 -0400, Andreas Kloeckner <[email protected]> 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
pgpi4oMKeLYiA.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
