| 140 | } |
| 141 | |
| 142 | void OpenclDevice::Free(void* p) { |
| 143 | if (!p) return; |
| 144 | cl_mem buffer = static_cast<cl_mem>(p); |
| 145 | clReleaseMemObject(buffer); |
| 146 | } |
| 147 | |
| 148 | } // namespace singa |
| 149 |
nothing calls this directly
no outgoing calls
no test coverage detected