| 81 | } |
| 82 | |
| 83 | uint8_t *CLSubTensor::do_map(cl::CommandQueue &q, bool blocking) |
| 84 | { |
| 85 | ARM_COMPUTE_ERROR_ON(cl_buffer().get() == nullptr); |
| 86 | if (_parent->buffer() == nullptr) |
| 87 | { |
| 88 | _parent->map(q, blocking); |
| 89 | } |
| 90 | return _parent->buffer(); |
| 91 | } |
| 92 | |
| 93 | void CLSubTensor::do_unmap(cl::CommandQueue &q) |
| 94 | { |