Hi Irwin,

On Tue, 21 Jun 2011 01:22:20 +0100, Irwin Zaid <[email protected]> 
wrote:
> I have done some testing, and the issue appears to be that 
> numpy.lib.stride_tricks.as_strided does not handle recarrays properly. 
> Since GPUArray.get() runs the array through as_strided, this introduces 
> the problem. I already filed a numpy bug request at 
> http://projects.scipy.org/numpy/ticket/1873.
> 
> In the meantime, maybe it is worth only using as_strided if the 
> dtype.isnative flag is True.

Fixed in compyte as you suggest.

Thanks for the report.
Andreas

Attachment: pgpz922MEmxJz.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to