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

Method enqueueUnmapMemObject

include/CL/opencl.hpp:8196–8215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8194#endif // #if CL_HPP_TARGET_OPENCL_VERSION >= 200
8195
8196 cl_int enqueueUnmapMemObject(
8197 const Memory& memory,
8198 void* mapped_ptr,
8199 const vector<Event>* events = nullptr,
8200 Event* event = nullptr) const
8201 {
8202 cl_event tmp;
8203 cl_int err = detail::errHandler(
8204 ::clEnqueueUnmapMemObject(
8205 object_, memory(), mapped_ptr,
8206 (events != nullptr) ? (cl_uint) events->size() : 0,
8207 (events != nullptr && events->size() > 0) ? (cl_event*) &events->front() : nullptr,
8208 (event != nullptr) ? &tmp : nullptr),
8209 __ENQUEUE_UNMAP_MEM_OBJECT_ERR);
8210
8211 if (event != nullptr && err == CL_SUCCESS)
8212 *event = tmp;
8213
8214 return err;
8215 }
8216
8217
8218#if CL_HPP_TARGET_OPENCL_VERSION >= 200

Callers 4

do_unmapMethod · 0.80
unmapMethod · 0.80
TEST_CASEFunction · 0.80
copyFunction · 0.80

Calls 3

errHandlerFunction · 0.85
clEnqueueUnmapMemObjectFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected