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

Method nativeFree

src/backend/common/MemoryManagerBase.hpp:65–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 size_t getMaxMemorySize(int id) { return nmi_->getMaxMemorySize(id); }
64 void *nativeAlloc(const size_t bytes) { return nmi_->nativeAlloc(bytes); }
65 void nativeFree(void *ptr) { nmi_->nativeFree(ptr); }
66 virtual spdlog::logger *getLogger() final { return nmi_->getLogger(); }
67 virtual void setAllocator(std::unique_ptr<AllocatorInterface> nmi) {
68 nmi_ = std::move(nmi);

Callers 2

unlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected