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

Function clEnqueueSVMMap

src/core/CL/OpenCL.cpp:288–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288cl_int clEnqueueSVMMap(cl_command_queue command_queue,
289 cl_bool blocking_map,
290 cl_map_flags flags,
291 void *svm_ptr,
292 size_t size,
293 cl_uint num_events_in_wait_list,
294 const cl_event *event_wait_list,
295 cl_event *event)
296{
297 arm_compute::CLSymbols::get().load_default();
298 auto func = arm_compute::CLSymbols::get().clEnqueueSVMMap_ptr;
299 if (func != nullptr)
300 {
301 return func(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, event_wait_list, event);
302 }
303 else
304 {
305 return CL_OUT_OF_RESOURCES;
306 }
307}
308
309cl_int clEnqueueSVMUnmap(cl_command_queue command_queue,
310 void *svm_ptr,

Callers 2

mapMethod · 0.85
enqueueMapSVMMethod · 0.85

Calls 1

load_defaultMethod · 0.80

Tested by

no test coverage detected