On Tue, 22 Feb 2011 16:06:14 +0530, nithin s <nithin19...@gmail.com> wrote:
>       is there any way to interpret a gpuarray's dtype as a vector? I
> understand that it tied to numpy.dtype. But I also saw code in
> pycuda/tools.py that interprets pycuda::complex<float> .

That said, you can of course fake something like it by having an array
with a minor dimension of 4. (float3 is 4-float-aligned IIRC)

Andreas

Attachment: pgp5WG1jR41XD.pgp
Description: PGP signature

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

Reply via email to