| 122 | } |
| 123 | |
| 124 | void memUnlock(const cl::Buffer *ptr) { |
| 125 | cl_mem mem = static_cast<cl_mem>((*ptr)()); |
| 126 | memoryManager().userUnlock(static_cast<void *>(mem)); |
| 127 | } |
| 128 | |
| 129 | bool isLocked(const void *ptr) { |
| 130 | return memoryManager().isUserLocked(const_cast<void *>(ptr)); |
nothing calls this directly
no test coverage detected