Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
147
template<typename T>
148
void 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
unlock
Method · 0.45
Tested by
no test coverage detected