On Mon, 4 Jul 2011 09:09:41 +0200, Jan H. Meinke wrote:
On 06/22/11 07:02, Andreas Kloeckner wrote:
I've just added an undocumented/preview feature to PyOpenCL git. You can
now specify 'g_times_l=True' on a kernel invocation to get a more
CUDA-like launch config specification, i.e. global size and global
offset are multiplied by the local size.

I'm debating whether to make this an official, documented feature (and
thereby set it in stone) or leave it undocumented and thereby
changeable.
I think this is a very convenient addition, in particular for people
moving from CUDA to OpenCL. The only problem I could see is that
somebody converting a PyOpenCL program to a C OpenCL program might
forget that he set g_times_l=True, but that's his problem.

Ok, I've documented the feature.

Andreas

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

Reply via email to