[PyOpenCL] Buffer copy

Andreas Klöckner lists at informa.tiker.net
Fri Jan 15 10:03:11 PST 2010


On Mittwoch 13 Januar 2010, Bonnel wrote:
> Hi community,
> 
> I'm new here and I'm starting to learn openCL and pyopencl seems very
> attractive. I want to make a simple program that will compute lines of
> the pascal triangle. How can I copy a buffer into another one ? On the
> reference API from Khronos, there's a function called
> clEnqueueCopyBuffer, but I don't find the equivalent on the pyopencl API.
> 
> Am I missing something or is this function not yet implemented ?

Good catch.

Fixed in git:

http://documen.tician.de/pyopencl/reference.html#pyopencl.enqueue_copy_buffer

Please test. To be released in 0.91.5, soon-ish.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.tiker.net/pipermail/pyopencl/attachments/20100115/dc053398/attachment.pgp>


More information about the PyOpenCL mailing list