tvm_crt_error_t PageMemoryManagerCreate(MemoryManagerInterface **manager, uint8_t *memory_pool, size_t memory_pool_size_bytes, size_t page_size_bytes_log2)
tvm_crt_error_t(* Allocate)(MemoryManagerInterface *interface, size_t num_bytes, DLDevice dev, void **out_ptr)
Allocate a chunk of memory.
Definition: page_allocator.h:49
tvm_crt_error_t(* Free)(MemoryManagerInterface *interface, void *ptr, DLDevice dev)
Free a chunk of previously-used memory.
Definition: page_allocator.h:60