| 201 | } |
| 202 | |
| 203 | uint8_t *CLTensorAllocator::lock() |
| 204 | { |
| 205 | if (_ctx) |
| 206 | { |
| 207 | return map(_ctx->gpu_scheduler()->queue(), true); |
| 208 | } |
| 209 | else |
| 210 | { |
| 211 | return map(CLScheduler::get().queue(), true); |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | void CLTensorAllocator::unlock() |
| 216 | { |
nothing calls this directly
no test coverage detected