Hi,

I'm trying to copy the content of a boolean numpy array into gpu-memory. The problem is: numpy boolean dtype is actually a byte [1] so the resulting buffer is much larger than what i need and i can't access it correctly using booleans.

Thanks in advance.

[1]: http://docs.scipy.org/doc/numpy/user/basics.types.html
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to