[PyOpenCL] Program.all_kernels() always return empty list

Andrew Karpushin reven86 at gmail.com
Wed May 19 09:57:06 PDT 2010


Hi!

When I call all_kernels( ) on program, that was previously successfully
built, it always returns empty list. I looked at the source and found that
the function create_kernels_in_program is not worked corretly. The
kernels vector
should be filled with num_kernels dummy values prior to second call of
clCreateKernelsInProgram, so that clCreateKernelsInProgram could store all
kernel objects in kernels vector.

Best regards, Andrew Karpushin.
Skype: reven-dfg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/pyopencl/attachments/20100519/28884cc7/attachment.htm>


More information about the PyOpenCL mailing list