MCPcopy Create free account
hub / github.com/MegEngine/MegCC / HandleMemoryManager

Method HandleMemoryManager

compiler/test/kernel/common/src/memory_manager.cpp:15–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13megdnn::MemoryManagerHolder megdnn::MemoryManagerHolder::m_instance;
14
15megdnn::HandleMemoryManager::HandleMemoryManager(Handle* handle)
16 : MemoryManager(), m_handle(handle) {}
17
18void* megdnn::HandleMemoryManager::malloc(size_t size) {
19 auto comp_handle = m_handle->megcore_computing_handle();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected