On Donnerstag 14 Januar 2010, Michael Rule wrote:
> another dumb question :
> how do I pass a scalar argument to a kernel in pyopencl ?

For completeness: As a numpy sized integer/float. (i.e.
numpy.float32(17) or so)

http://is.gd/6j8mf

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyOpenCL mailing list
[email protected]
http://tiker.net/mailman/listinfo/pyopencl_tiker.net

Reply via email to