On Sat, 15 May 2010 13:00:08 +0400, Andrew Karpushin <[email protected]> wrote: > 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()
David's comments notwithstanding, you are obviously correct. Thanks for the report, fixed in git. Andreas
pgpTuMxrj2MQt.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
