probably wouldn't be hard to modify __getitem__ to use
> take/multi_take.
>
> -syam
>
> From: PyCUDA on behalf of Rasmus Diederichsen
>
> Sent: Tuesday, July 24, 2018 5:24:40 AM
> To: pycuda@tiker.net
> Subject: [PyCUDA] How can I emulated numpy-style index arrays?
&g
on behalf of Rasmus Diederichsen
Sent: Tuesday, July 24, 2018 5:24:40 AM
To: pycuda@tiker.net
Subject: [PyCUDA] How can I emulated numpy-style index arrays?
Good day, list.
In numpy, one can use arrays of ints to select a non-contiguous subarray, but
the same does not work in Pycuda (only slices
Good day, list.
In numpy, one can use arrays of ints to select a non-contiguous subarray, but
the same does not work in Pycuda (only slices, ellipses and ints). Is there a
straightforward way to emulate this behaviour (maybe use some memcpy call to
extract the relevant data)?
Cheers,
Rasmus