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

Function enqueueUnmapSVM

include/CL/opencl.hpp:9395–9409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9393 */
9394template<typename T>
9395inline cl_int enqueueUnmapSVM(
9396 T* ptr,
9397 const vector<Event>* events = nullptr,
9398 Event* event = nullptr)
9399{
9400 cl_int error;
9401 CommandQueue queue = CommandQueue::getDefault(&error);
9402 if (error != CL_SUCCESS) {
9403 return detail::errHandler(error, __ENQUEUE_UNMAP_MEM_OBJECT_ERR);
9404 }
9405
9406 return detail::errHandler(queue.enqueueUnmapSVM(ptr, events, event),
9407 __ENQUEUE_UNMAP_MEM_OBJECT_ERR);
9408
9409}
9410
9411/**
9412 * Enqueues to the default queue a command that will release a coarse-grained

Callers 1

unmapSVMFunction · 0.85

Calls 2

errHandlerFunction · 0.85
enqueueUnmapSVMMethod · 0.80

Tested by

no test coverage detected