| 90 | } |
| 91 | |
| 92 | void *CLBufferMemoryRegion::map(cl::CommandQueue &q, bool blocking) |
| 93 | { |
| 94 | ARM_COMPUTE_ERROR_ON(_mem.get() == nullptr); |
| 95 | _mapping = q.enqueueMapBuffer(_mem, blocking ? CL_TRUE : CL_FALSE, CL_MAP_READ | CL_MAP_WRITE, 0, _size); |
| 96 | return _mapping; |
| 97 | } |
| 98 | |
| 99 | void CLBufferMemoryRegion::unmap(cl::CommandQueue &q) |
| 100 | { |
nothing calls this directly
no test coverage detected