tvm
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

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

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: