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

Function freePinned

src/api/cpp/device.cpp:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void freePinned(const void *ptr) {
140 // FIXME: look up map and call the right free
141 AF_THROW(af_free_pinned((void *)ptr));
142}
143
144void *allocHost(const size_t elements, const af::dtype type) {
145 void *ptr;

Callers

nothing calls this directly

Calls 1

af_free_pinnedFunction · 0.50

Tested by

no test coverage detected