On Sat, 14 Jan 2012 12:45:12 +0100, Thomas Wiecki
<Thomas_Wiecki(a)brown.edu> wrote:
On Fri, Jan 13, 2012 at 10:13 PM, Andreas
Kloeckner
<lists(a)informa.tiker.net> wrote:
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)
Yes, that's a typo.
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.
The current fix doesn't work for me:
CompileError: nvcc compilation of /tmp/tmp2ru5rp/kernel.cu failed
[command: nvcc --cubin -arch sm_11
-I/usr/local/lib/python2.7/dist-packages/pycuda-2011.2.2-py2.7-linux-i686.egg/pycuda/../include/pycuda
kernel.cu]
[stderr:
kernel.cu(7): error: identifier "uintptr_t" is undefined
Can you try again now? Sorry for the wait. If you follow the PyOpenCL
list, you'll know what held me up. :(
Andreas