#include <memory_manager.h>
◆ GetAllocator()
static Allocator* tvm::runtime::vm::MemoryManager::GetAllocator |
( |
Device |
dev | ) |
|
|
static |
Get an allocator given the context.
- Parameters
-
- Returns
- The memory allocator.
◆ GetOrCreateAllocator()
Get or create an allocator given the context and allocator type.
- Parameters
-
dev | The TVM device |
type | The allocator type |
- Returns
- The memory allocator.
◆ Global()
static MemoryManager* tvm::runtime::vm::MemoryManager::Global |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: