MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / enqueueMapSVM

Function enqueueMapSVM

include/CL/opencl.hpp:9293–9309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9291 */
9292template<typename T>
9293inline cl_int enqueueMapSVM(
9294 T* ptr,
9295 cl_bool blocking,
9296 cl_map_flags flags,
9297 size_type size,
9298 const vector<Event>* events,
9299 Event* event)
9300{
9301 cl_int error;
9302 CommandQueue queue = CommandQueue::getDefault(&error);
9303 if (error != CL_SUCCESS) {
9304 return detail::errHandler(error, __ENQUEUE_MAP_BUFFER_ERR);
9305 }
9306
9307 return queue.enqueueMapSVM(
9308 ptr, blocking, flags, size, events, event);
9309}
9310
9311/**
9312 * Enqueues to the default queue a command that will allow the host to

Callers 2

allocateMethod · 0.85
mapSVMFunction · 0.85

Calls 2

errHandlerFunction · 0.85
enqueueMapSVMMethod · 0.80

Tested by

no test coverage detected