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

Method unmap

src/runtime/CL/CLMemoryRegion.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void CLBufferMemoryRegion::unmap(cl::CommandQueue &q)
100{
101 ARM_COMPUTE_ERROR_ON(_mem.get() == nullptr);
102 q.enqueueUnmapMemObject(_mem, _mapping);
103 _mapping = nullptr;
104}
105
106ICLSVMMemoryRegion::ICLSVMMemoryRegion(cl_mem_flags flags, size_t size, size_t alignment)
107 : ICLMemoryRegion(size), _ptr(nullptr)

Callers

nothing calls this directly

Calls 3

clEnqueueSVMUnmapFunction · 0.85
enqueueUnmapMemObjectMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected