MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / pinnedFree

Function pinnedFree

src/backend/opencl/memory.cpp:148–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146
147template<typename T>
148void pinnedFree(T *ptr) {
149 pinnedMemoryManager().unlock(static_cast<void *>(ptr), false);
150}
151
152#define INSTANTIATE(T) \
153 template unique_ptr<cl::Buffer, function<void(cl::Buffer *)>> memAlloc<T>( \

Callers

nothing calls this directly

Calls 1

unlockMethod · 0.45

Tested by

no test coverage detected