On Thu, 12 Jan 2012 19:39:19 +0100, Thomas Wiecki <thomas_wie...@brown.edu> 
wrote:
> Seems like it is a 32 bit bug, I replicated it on another 32 bit
> machine and filed a bug report:
> http://projects.scipy.org/numpy/ticket/2017
> 
> As for a temporary fix, I also register uintp32 (and intp32 for good
> luck) to DTYPES_TO_CTYPES which seems to do the trick (on 64 bit it
> will just overwrite the key but link it to the same value).

You mean uintp (not uintp32), right? I've made that fix in compyte. Can
you please verify? (requires a submodule update, fixed in both PyOpenCL
and PyCUDA)

I was a bit unsure what C type to map this to, but decided in favor of
uintptr_t, even though that requires the user to have stdint.h included,
which none of the other types do. Hope that's ok, but I am open to
suggestions.

Andreas

Attachment: pgpGx77WZXKFp.pgp
Description: PGP signature

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

Reply via email to