[Beignet] [PATCH 0/2] Implement CL image map/read/write.

Dag Lem dag at nimrod.no
Mon May 20 03:28:26 PDT 2013


Implement clEnqueueMapImage, clEnqueueReadImage and clEnqueueWriteImage.

These functions provide a standard API to exchange image data between
host and device.

Tiled images are mapped/unmapped in GTT mode. clEnqueueUnmapMemObject
is modified to correctly unmap such images.

Dag Lem (2):
  Implement clEnqueueMapImage.
  Implement clEnqueueReadImage and clEnqueueWriteImage.

 src/cl_api.c   | 243 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 src/cl_mem.c   |  19 +++++
 src/cl_mem.h   |   6 ++
 src/cl_utils.h |   9 +++
 4 files changed, 265 insertions(+), 12 deletions(-)

-- 
1.8.1.4



More information about the Beignet mailing list