Hi.
I think there is a typo at wrap_cl.hpp, line 2321 (
http://git.tiker.net/pyopencl.git/blob/HEAD:/src/wrapper/wrap_cl.hpp#l2321)
Instead of
if (work_dim != len(py_local_work_size))
there should be:
if (work_dim != len(py_global_work_offset))
The problem occurred, when I tried to enqueue kernel, specifing
'global_offset' parameter and no 'local_size' parameter, and got an
exception:
TypeError: object of type 'NoneType' has no len()
Best regards, Andrew Karpushin.
Skype: reven-dfg
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl