KhronosGroup / OpenCL-CLHPP

Khronos OpenCL-CLHPP
Apache License 2.0
369 stars 129 forks source link

wrapper for clEnqueueSVMMemFill and clEnqueueSVMMemcpy #228

Closed bananAshkar closed 1 year ago

bananAshkar commented 1 year ago
  1. SVMAllocator::allocate automatically maps the newly allocated SVM buffer. This is redundant for output buffers.I added a new argument to the method – bool map = true – to control whether the method should map the buffer.

2.opencl.hpp doesn't include wrapper methods for clEnqueueSVMMemFill and clEnqueueSVMMemcpy , so I added them.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

bashbaug commented 1 year ago

Merging as discussed in the May 30th teleconference.