Device object must implement commands to map, copy and fill a buffer


The Device class in the OpenCL module must implement functionality corresponding to the OpenCL API functions clEnqueueMapBuffer, clEnqueueCopyBuffer and clEnqueueFillBuffer¹.

¹ clEnqueueFillBuffer is supported only in OpenCL v1.2
Closed May 2, 2015 at 11:58 PM by faburaya


wrote May 2, 2015 at 11:58 PM

Resolved with changeset 37494: Major changes in the OpenCL module:
  • Device interface now supports filling, copying and mapping commands
  • Device interface now segregates sync & async versions of commands
  • Commands now return an object that implements the waiting for their completion
  • Implementation of async commands now automatically invoke a queue flush
  • Implementation has been improved with better encapsulation of resources