TT-MLIR
Public Types | Public Member Functions | Public Attributes | List of all members
tt::target::MemoryDescBuilder Struct Reference

#include <types_generated.h>

Public Types

typedef MemoryDesc Table
 

Public Member Functions

void add_shape (::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> shape)
 
void add_tile_shape (const tt::target::Dim2d *tile_shape)
 
void add_data_type (tt::target::DataType data_type)
 
void add_memory_space (tt::target::MemorySpace memory_space)
 
void add_memory_layout (tt::target::TensorMemoryLayout memory_layout)
 
void add_size (uint64_t size)
 
 MemoryDescBuilder (::flatbuffers::FlatBufferBuilder &_fbb)
 
::flatbuffers::Offset< MemoryDesc > Finish ()
 

Public Attributes

::flatbuffers::FlatBufferBuilder & fbb_
 
::flatbuffers::uoffset_t start_
 

Member Typedef Documentation

◆ Table

Constructor & Destructor Documentation

◆ MemoryDescBuilder()

tt::target::MemoryDescBuilder::MemoryDescBuilder ( ::flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Member Function Documentation

◆ add_data_type()

void tt::target::MemoryDescBuilder::add_data_type ( tt::target::DataType  data_type)
inline

◆ add_memory_layout()

void tt::target::MemoryDescBuilder::add_memory_layout ( tt::target::TensorMemoryLayout  memory_layout)
inline

◆ add_memory_space()

void tt::target::MemoryDescBuilder::add_memory_space ( tt::target::MemorySpace  memory_space)
inline

◆ add_shape()

void tt::target::MemoryDescBuilder::add_shape ( ::flatbuffers::Offset<::flatbuffers::Vector< int32_t >>  shape)
inline

◆ add_size()

void tt::target::MemoryDescBuilder::add_size ( uint64_t  size)
inline

◆ add_tile_shape()

void tt::target::MemoryDescBuilder::add_tile_shape ( const tt::target::Dim2d *  tile_shape)
inline

◆ Finish()

::flatbuffers::Offset<MemoryDesc> tt::target::MemoryDescBuilder::Finish ( )
inline

Member Data Documentation

◆ fbb_

::flatbuffers::FlatBufferBuilder& tt::target::MemoryDescBuilder::fbb_

◆ start_

::flatbuffers::uoffset_t tt::target::MemoryDescBuilder::start_

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