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