Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ freeV2
Function
freeV2
src/api/cpp/device.cpp:135–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
133
}
134
135
void freeV2(const void *ptr) {
136
AF_THROW(af_free_device_v2(const_cast<void *>(ptr)));
137
}
138
139
void freePinned(const void *ptr) {
140
// FIXME: look up map and call the right free
Callers
3
TEST
Function · 0.85
memAllocPtrScopeTest
Function · 0.85
TEST
Function · 0.85
Calls
1
af_free_device_v2
Function · 0.50
Tested by
no test coverage detected