Hi Alex, Alex Nitz <alex.n...@ligo.org> writes: > I've noticed that the 'take' function doesn't seem to work for arrays with > complex dtypes (complex64, complex128). I've added to patches that allow > this to work. It requires adding texture support for these types. > > As was done for double precision, it is a bit hacky. I'm not sure if there > is a much better way as there doesn't seem to be native support for these > types in cuda. > > There are two patches as this requires adding some lines to > "pycuda-helpers.hpp" and "gpuarray.py", as well as some lines in the > compyte submodule to add in the mapping to the fake texture types.
Merged with minor changes, thanks! Andreas
pgpNXAooEh3F0.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda