Hi Andreas,

On Fri, Sep 9, 2011 at 5:07 PM, Andreas Kloeckner
<li...@informa.tiker.net> wrote:
> PyCUDA already supports this--just do array[start:end]. PyOpenCL not
> yet, but I'm meaning to add this at some point, unless compyte gets
> there first.

Thank you, that's great! The problem is that most of my arrays are
multidimensional, and therefore cannot benefit from this.
Moreover there seems to be now ravel() or reshape() equivalents in the
interface, which could serve as a workaround (I checked the source
now, just in case). So, I cannot really use it right now. Although the
foundation is already there, so it may be easier for me to implement
multidimensional slicing (unless you are planning to do it yourself in
the near future).

Best regards,
Bogdan

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

Reply via email to