Sorry if this comes through multiple times, I've been having problems posting
from an email alias.
Andreas suggested I mail the mailing list and solicit comments here.
I submitted a pull request that adapts the element-wise kernels to support
non-contiguous arrays (including negative-strided a
Andreas suggested I mail the mailing list and solicit comments here.
I submitted a pull request that adapts the element-wise kernels to support
non-contiguous arrays (including negative-strided arrays):
https://github.com/inducer/pycuda/pull/171
There have been a number of requests for this
Speaking only to the last patch, I think it would make the tests
Cython-compatible too. I experienced that same issue where 'import
py.test.cmdline' failed, maybe because cmdline was not a module?
-syam
From: PyCUDA on behalf of Emanuel Rietveld
Sent: Mond
Could you use gpuarray.take()? There is also apparently an undocumented
multi_take(), but I don't know how it works. If you absolutely need the
slicing syntax, it probably wouldn't be hard to modify __getitem__ to use
take/multi_take.
-syam
From: PyCUDA on