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

Method nativeFree

src/backend/oneapi/memory.cpp:189–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void Allocator::nativeFree(void *ptr) {
190 auto *buf = static_cast<sycl::buffer<std::byte> *>(ptr);
191 AF_TRACE("nativeFree: {}", ptr);
192 delete buf;
193}
194
195AllocatorPinned::AllocatorPinned() { logger = common::loggerFactory("mem"); }
196

Callers

nothing calls this directly

Calls 2

freeFunction · 0.85
getQueueFunction · 0.50

Tested by

no test coverage detected