On Donnerstag 15 Oktober 2009, Nick Gaens wrote: > As you can see, the line which has "// ALERT" tailing shows five > parameters that are passed to the previously defined method which is > shown to only accept three. > > To make matters worse, I dugg into the reference op PyOpenCL and found > this: http://python-opencl.next-touch.com/tutorial.html#opencl-kernels. > This code is shown in the third colored box of this part of the reference: > [snip] > Can someone explain to me why these approaches are so inconsistent? Which > one is correct? What way is *the way to do it"?
Well, there's an easy answer here. :) You're looking at the documentation for the wrong project. PyOpenCL's documentation is at [1] and, more specifically, [2]. In Tlapatlac's Python::OpenCL [3] and the other PyOpenCL [4] by Goncalo Carvalho are different projects. [1] http://documen.tician.de/pyopencl/ [2] http://documen.tician.de/pyopencl/reference.html#pyopencl.Kernel.__call__ [3] http://python-opencl.next-touch.com/ [4] http://sourceforge.net/projects/pyopencl/ Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyOpenCL mailing list [email protected] http://tiker.net/mailman/listinfo/pyopencl_tiker.net
