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

Function free

src/api/cpp/device.cpp:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void free(const void *ptr) {
129 // FIXME: look up map and call the right free
130 AF_DEPRECATED_WARNINGS_OFF
131 AF_THROW(af_free_device(const_cast<void *>(ptr)));
132 AF_DEPRECATED_WARNINGS_ON
133}
134
135void freeV2(const void *ptr) {
136 AF_THROW(af_free_device_v2(const_cast<void *>(ptr)));

Callers 9

memAllocPtrScopeTestFunction · 0.85
SetUpMethod · 0.85
mm_write_bannerFunction · 0.85
nativeFreeMethod · 0.85
magma_free_cpuFunction · 0.85
nativeFreeMethod · 0.85
nvDriverVersionFunction · 0.85
af_free_hostFunction · 0.85
af_free_hostFunction · 0.85

Calls 1

af_free_deviceFunction · 0.50

Tested by

no test coverage detected