Hi,

In the mandelbrot example of the pyopencl source, a np.uint16 type is
passed "directly" to a kernel as a ushort const.
Is it possible to do the same thing with an opencl floatn vector type
instead of a ushort ?
If so what would be the corresponding numpy type ?

I have tried passing directly a numpy.array of size n without success
: I get a crash. That doesn't surprise me as it probably tries to pass
a pointer instead of a value...

Thanks.

David.

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to