tvm
Loading...
Searching...
No Matches
Public Attributes | List of all members
tvm::runtime::memory::Buffer Struct Reference

#include <memory_manager.h>

Collaboration diagram for tvm::runtime::memory::Buffer:

Public Attributes

voiddata {nullptr}
 The pointer to the allocated block of memory.
 
size_t size {0}
 The size of the block.
 
Device device
 The context of the allocated buffers.
 
AllocatorType alloc_type
 The allocator that created this buffer.
 

Member Data Documentation

◆ alloc_type

AllocatorType tvm::runtime::memory::Buffer::alloc_type

The allocator that created this buffer.

◆ data

void* tvm::runtime::memory::Buffer::data {nullptr}

The pointer to the allocated block of memory.

◆ device

Device tvm::runtime::memory::Buffer::device

The context of the allocated buffers.

◆ size

size_t tvm::runtime::memory::Buffer::size {0}

The size of the block.


The documentation for this struct was generated from the following file: