TT-MLIR
|
Namespaces | |
metal | |
ttnn | |
Enumerations | |
enum class | Arch : uint32_t { Grayskull = 0 , Wormhole_b0 = 1 , Blackhole = 2 , MIN = Grayskull , MAX = Blackhole } |
enum class | DataType : uint16_t { Float32 = 0 , Float16 = 1 , BFloat16 = 2 , BFP_Float8 = 3 , BFP_BFloat8 = 4 , BFP_Float4 = 5 , BFP_BFloat4 = 6 , BFP_Float2 = 7 , BFP_BFloat2 = 8 , UInt32 = 9 , UInt16 = 10 , UInt8 = 11 , MIN = Float32 , MAX = UInt8 } |
enum class | OOBVal : uint16_t { Undef = 0 , Zero = 1 , One = 2 , Inf = 3 , NegInf = 4 , MIN = Undef , MAX = NegInf } |
enum class | MemorySpace : uint16_t { System = 0 , SystemMMIO = 1 , DeviceDRAM = 2 , DeviceL1 = 3 , MIN = System , MAX = DeviceL1 } |
enum class | ChipCapability : uint32_t { PCIE = 1 , HostMMIO = 2 , NONE = 0 , ANY = 3 } |
enum class | TensorMemoryLayout : uint16_t { None = 0 , Interleaved = 1 , SingleBank = 2 , HeightSharded = 3 , WidthSharded = 4 , BlockSharded = 5 , MIN = None , MAX = BlockSharded } |
enum class | TensorLayout : uint16_t { RowMajor = 0 , Tile = 1 , Invalid = 2 , MIN = RowMajor , MAX = Invalid } |
enum class | BufferType : uint16_t { DRAM = 0 , L1 = 1 , SystemMemory = 2 , L1Small = 3 , Trace = 4 , MIN = DRAM , MAX = Trace } |
enum class | DistributedTensorConfig : uint8_t { NONE = 0 , ReplicateTensor = 1 , ShardTensor = 2 , ShardTensor2D = 3 , AllGatherTensor = 4 , MIN = NONE , MAX = AllGatherTensor } |
enum class | CPURole : uint8_t { Host = 0 , Device = 1 , MIN = Host , MAX = Device } |
enum class | MathFidelity : uint8_t { LoFi = 0 , HiFi2 = 2 , HiFi3 = 3 , HiFi4 = 4 , MIN = LoFi , MAX = HiFi4 } |
Functions | |
inline ::flatbuffers::Offset< GoldenTensor > | CreateGoldenTensor (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::String > name=0, ::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> shape=0, ::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> stride=0, tt::target::DataType dtype=tt::target::DataType::Float32, ::flatbuffers::Offset<::flatbuffers::Vector< uint8_t >> data=0) |
inline ::flatbuffers::Offset< GoldenTensor > | CreateGoldenTensorDirect (::flatbuffers::FlatBufferBuilder &_fbb, const char *name=nullptr, const std::vector< int64_t > *shape=nullptr, const std::vector< int64_t > *stride=nullptr, tt::target::DataType dtype=tt::target::DataType::Float32, const std::vector< uint8_t > *data=nullptr) |
inline ::flatbuffers::Offset< GoldenKV > | CreateGoldenKV (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::String > key=0, ::flatbuffers::Offset< tt::target::GoldenTensor > value=0) |
inline ::flatbuffers::Offset< GoldenKV > | CreateGoldenKVDirect (::flatbuffers::FlatBufferBuilder &_fbb, const char *key=nullptr, ::flatbuffers::Offset< tt::target::GoldenTensor > value=0) |
inline ::flatbuffers::Offset< GoldenInfo > | CreateGoldenInfo (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::GoldenKV >>> golden_map=0) |
inline ::flatbuffers::Offset< GoldenInfo > | CreateGoldenInfoDirect (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector<::flatbuffers::Offset< tt::target::GoldenKV >> *golden_map=nullptr) |
inline ::flatbuffers::Offset< MLIR > | CreateMLIR (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::String > name=0, ::flatbuffers::Offset<::flatbuffers::String > source=0) |
inline ::flatbuffers::Offset< MLIR > | CreateMLIRDirect (::flatbuffers::FlatBufferBuilder &_fbb, const char *name=nullptr, const char *source=nullptr) |
inline ::flatbuffers::Offset< DebugInfo > | CreateDebugInfo (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::MLIR > mlir=0, ::flatbuffers::Offset<::flatbuffers::String > cpp=0, ::flatbuffers::Offset< tt::target::GoldenInfo > golden_info=0) |
inline ::flatbuffers::Offset< DebugInfo > | CreateDebugInfoDirect (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::MLIR > mlir=0, const char *cpp=nullptr, ::flatbuffers::Offset< tt::target::GoldenInfo > golden_info=0) |
inline ::flatbuffers::Offset< SystemDescRoot > | CreateSystemDescRoot (::flatbuffers::FlatBufferBuilder &_fbb, const tt::target::Version *version=nullptr, ::flatbuffers::Offset<::flatbuffers::String > ttmlir_git_hash=0, ::flatbuffers::Offset<::flatbuffers::String > product_identifier=0, ::flatbuffers::Offset< tt::target::SystemDesc > system_desc=0) |
inline ::flatbuffers::Offset< SystemDescRoot > | CreateSystemDescRootDirect (::flatbuffers::FlatBufferBuilder &_fbb, const tt::target::Version *version=nullptr, const char *ttmlir_git_hash=nullptr, const char *product_identifier=nullptr, ::flatbuffers::Offset< tt::target::SystemDesc > system_desc=0) |
const tt::target::SystemDescRoot * | GetSystemDescRoot (const void *buf) |
const tt::target::SystemDescRoot * | GetSizePrefixedSystemDescRoot (const void *buf) |
const char * | SystemDescRootIdentifier () |
bool | SystemDescRootBufferHasIdentifier (const void *buf) |
bool | SizePrefixedSystemDescRootBufferHasIdentifier (const void *buf) |
bool | VerifySystemDescRootBuffer (::flatbuffers::Verifier &verifier) |
bool | VerifySizePrefixedSystemDescRootBuffer (::flatbuffers::Verifier &verifier) |
const char * | SystemDescRootExtension () |
void | FinishSystemDescRootBuffer (::flatbuffers::FlatBufferBuilder &fbb, ::flatbuffers::Offset< tt::target::SystemDescRoot > root) |
void | FinishSizePrefixedSystemDescRootBuffer (::flatbuffers::FlatBufferBuilder &fbb, ::flatbuffers::Offset< tt::target::SystemDescRoot > root) |
const Arch(& | EnumValuesArch ())[3] |
const char *const * | EnumNamesArch () |
const char * | EnumNameArch (Arch e) |
const DataType(& | EnumValuesDataType ())[12] |
const char *const * | EnumNamesDataType () |
const char * | EnumNameDataType (DataType e) |
const OOBVal(& | EnumValuesOOBVal ())[5] |
const char *const * | EnumNamesOOBVal () |
const char * | EnumNameOOBVal (OOBVal e) |
const MemorySpace(& | EnumValuesMemorySpace ())[4] |
const char *const * | EnumNamesMemorySpace () |
const char * | EnumNameMemorySpace (MemorySpace e) |
const ChipCapability(& | EnumValuesChipCapability ())[2] |
const char *const * | EnumNamesChipCapability () |
const char * | EnumNameChipCapability (ChipCapability e) |
const TensorMemoryLayout(& | EnumValuesTensorMemoryLayout ())[6] |
const char *const * | EnumNamesTensorMemoryLayout () |
const char * | EnumNameTensorMemoryLayout (TensorMemoryLayout e) |
const TensorLayout(& | EnumValuesTensorLayout ())[3] |
const char *const * | EnumNamesTensorLayout () |
const char * | EnumNameTensorLayout (TensorLayout e) |
const BufferType(& | EnumValuesBufferType ())[5] |
const char *const * | EnumNamesBufferType () |
const char * | EnumNameBufferType (BufferType e) |
const DistributedTensorConfig(& | EnumValuesDistributedTensorConfig ())[5] |
const char *const * | EnumNamesDistributedTensorConfig () |
const char * | EnumNameDistributedTensorConfig (DistributedTensorConfig e) |
bool | VerifyDistributedTensorConfig (::flatbuffers::Verifier &verifier, const void *obj, DistributedTensorConfig type) |
bool | VerifyDistributedTensorConfigVector (::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset< void >> *values, const ::flatbuffers::Vector< DistributedTensorConfig > *types) |
const CPURole(& | EnumValuesCPURole ())[2] |
const char *const * | EnumNamesCPURole () |
const char * | EnumNameCPURole (CPURole e) |
const MathFidelity(& | EnumValuesMathFidelity ())[4] |
const char *const * | EnumNamesMathFidelity () |
const char * | EnumNameMathFidelity (MathFidelity e) |
FLATBUFFERS_MANUALLY_ALIGNED_STRUCT (4) Dim2d FLATBUFFERS_FINAL_CLASS | |
FLATBUFFERS_STRUCT_END (Dim2d, 8) | |
FLATBUFFERS_STRUCT_END (Dim2dRange, 16) | |
FLATBUFFERS_STRUCT_END (ChipCoord, 16) | |
FLATBUFFERS_STRUCT_END (ChipChannel, 24) | |
inline ::flatbuffers::Offset< ShardSpec > | CreateShardSpec (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> shard_shape=0) |
inline ::flatbuffers::Offset< ShardSpec > | CreateShardSpecDirect (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< int64_t > *shard_shape=nullptr) |
inline ::flatbuffers::Offset< MemoryConfigDesc > | CreateMemoryConfigDesc (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::TensorMemoryLayout tensor_memory_layout=tt::target::TensorMemoryLayout::None, tt::target::BufferType buffer_type=tt::target::BufferType::DRAM, ::flatbuffers::Offset< tt::target::ShardSpec > shard_spec=0) |
inline ::flatbuffers::Offset< ReplicateTensor > | CreateReplicateTensor (::flatbuffers::FlatBufferBuilder &_fbb, uint32_t replication_factor=0) |
inline ::flatbuffers::Offset< ShardTensor > | CreateShardTensor (::flatbuffers::FlatBufferBuilder &_fbb, uint32_t shard_dim=0) |
inline ::flatbuffers::Offset< ShardTensor2D > | CreateShardTensor2D (::flatbuffers::FlatBufferBuilder &_fbb, const tt::target::Dim2d *shard_mesh=nullptr) |
inline ::flatbuffers::Offset< AllGatherTensor > | CreateAllGatherTensor (::flatbuffers::FlatBufferBuilder &_fbb) |
template<> | |
const tt::target::ReplicateTensor * | DistributionStrategy::strategy_as< tt::target::ReplicateTensor > () const |
template<> | |
const tt::target::ShardTensor * | DistributionStrategy::strategy_as< tt::target::ShardTensor > () const |
template<> | |
const tt::target::ShardTensor2D * | DistributionStrategy::strategy_as< tt::target::ShardTensor2D > () const |
template<> | |
const tt::target::AllGatherTensor * | DistributionStrategy::strategy_as< tt::target::AllGatherTensor > () const |
inline ::flatbuffers::Offset< DistributionStrategy > | CreateDistributionStrategy (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::DistributedTensorConfig strategy_type=tt::target::DistributedTensorConfig::NONE, ::flatbuffers::Offset< void > strategy=0) |
inline ::flatbuffers::Offset< MemoryDesc > | CreateMemoryDesc (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> shape=0, const tt::target::Dim2d *tile_shape=nullptr, tt::target::DataType data_type=tt::target::DataType::Float32, tt::target::MemorySpace memory_space=tt::target::MemorySpace::System, tt::target::TensorMemoryLayout memory_layout=tt::target::TensorMemoryLayout::None, uint64_t size=0) |
inline ::flatbuffers::Offset< MemoryDesc > | CreateMemoryDescDirect (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< int32_t > *shape=nullptr, const tt::target::Dim2d *tile_shape=nullptr, tt::target::DataType data_type=tt::target::DataType::Float32, tt::target::MemorySpace memory_space=tt::target::MemorySpace::System, tt::target::TensorMemoryLayout memory_layout=tt::target::TensorMemoryLayout::None, uint64_t size=0) |
inline ::flatbuffers::Offset< LayoutDesc > | CreateLayoutDesc (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> stride=0, tt::target::OOBVal oob_val=tt::target::OOBVal::Undef, ::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2dRange * >> core_range_set=0, ::flatbuffers::Offset< tt::target::MemoryDesc > memory_desc=0, ::flatbuffers::Offset< tt::target::DistributionStrategy > strategy=0) |
inline ::flatbuffers::Offset< LayoutDesc > | CreateLayoutDescDirect (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< int32_t > *stride=nullptr, tt::target::OOBVal oob_val=tt::target::OOBVal::Undef, const std::vector< tt::target::Dim2dRange > *core_range_set=nullptr, ::flatbuffers::Offset< tt::target::MemoryDesc > memory_desc=0, ::flatbuffers::Offset< tt::target::DistributionStrategy > strategy=0) |
inline ::flatbuffers::Offset< TensorDesc > | CreateTensorDesc (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> shape=0, ::flatbuffers::Offset< tt::target::LayoutDesc > layout=0) |
inline ::flatbuffers::Offset< TensorDesc > | CreateTensorDescDirect (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< int32_t > *shape=nullptr, ::flatbuffers::Offset< tt::target::LayoutDesc > layout=0) |
inline ::flatbuffers::Offset< CBDesc > | CreateCBDesc (::flatbuffers::FlatBufferBuilder &_fbb, uint32_t port=0, ::flatbuffers::Offset< tt::target::MemoryDesc > memory_desc=0, uint64_t page_size=0, uint64_t num_buffers=0) |
inline ::flatbuffers::Offset< TensorRef > | CreateTensorRef (::flatbuffers::FlatBufferBuilder &_fbb, uint32_t global_id=0, uint64_t address=0, uint64_t size=0, ::flatbuffers::Offset< tt::target::TensorDesc > desc=0) |
inline ::flatbuffers::Offset< CBRef > | CreateCBRef (::flatbuffers::FlatBufferBuilder &_fbb, uint32_t global_id=0, ::flatbuffers::Offset< tt::target::TensorRef > tensor_ref=0, uint64_t address=0, ::flatbuffers::Offset< tt::target::CBDesc > desc=0) |
inline ::flatbuffers::Offset< ChipDesc > | CreateChipDesc (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::Arch arch=tt::target::Arch::Grayskull, const tt::target::Dim2d *grid_size=nullptr, uint64_t l1_size=0, uint32_t num_dram_channels=0, uint64_t dram_channel_size=0, uint32_t noc_l1_address_align_bytes=0, uint32_t pcie_address_align_bytes=0, uint32_t noc_dram_address_align_bytes=0, uint32_t l1_unreserved_base=0, uint32_t erisc_l1_unreserved_base=0, uint32_t dram_unreserved_base=0, uint32_t dram_unreserved_end=0, ::flatbuffers::Offset< tt::target::ChipPhysicalCores > physical_cores=0, ::flatbuffers::Offset<::flatbuffers::Vector< tt::target::DataType >> supported_data_types=0, ::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> supported_tile_sizes=0, uint32_t num_cbs=0) |
inline ::flatbuffers::Offset< ChipDesc > | CreateChipDescDirect (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::Arch arch=tt::target::Arch::Grayskull, const tt::target::Dim2d *grid_size=nullptr, uint64_t l1_size=0, uint32_t num_dram_channels=0, uint64_t dram_channel_size=0, uint32_t noc_l1_address_align_bytes=0, uint32_t pcie_address_align_bytes=0, uint32_t noc_dram_address_align_bytes=0, uint32_t l1_unreserved_base=0, uint32_t erisc_l1_unreserved_base=0, uint32_t dram_unreserved_base=0, uint32_t dram_unreserved_end=0, ::flatbuffers::Offset< tt::target::ChipPhysicalCores > physical_cores=0, const std::vector< tt::target::DataType > *supported_data_types=nullptr, const std::vector< tt::target::Dim2d > *supported_tile_sizes=nullptr, uint32_t num_cbs=0) |
inline ::flatbuffers::Offset< ChipPhysicalCores > | CreateChipPhysicalCores (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> worker=0, ::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> dram=0, ::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> eth=0, ::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> eth_inactive=0) |
inline ::flatbuffers::Offset< ChipPhysicalCores > | CreateChipPhysicalCoresDirect (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< tt::target::Dim2d > *worker=nullptr, const std::vector< tt::target::Dim2d > *dram=nullptr, const std::vector< tt::target::Dim2d > *eth=nullptr, const std::vector< tt::target::Dim2d > *eth_inactive=nullptr) |
inline ::flatbuffers::Offset< CPUDesc > | CreateCPUDesc (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::CPURole role=tt::target::CPURole::Host, ::flatbuffers::Offset<::flatbuffers::String > target_triple=0) |
inline ::flatbuffers::Offset< CPUDesc > | CreateCPUDescDirect (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::CPURole role=tt::target::CPURole::Host, const char *target_triple=nullptr) |
inline ::flatbuffers::Offset< SystemDesc > | CreateSystemDesc (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::CPUDesc >>> cpu_descs=0, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::ChipDesc >>> chip_descs=0, ::flatbuffers::Offset<::flatbuffers::Vector< uint32_t >> chip_desc_indices=0, ::flatbuffers::Offset<::flatbuffers::Vector< tt::target::ChipCapability >> chip_capabilities=0, ::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::ChipCoord * >> chip_coords=0, ::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::ChipChannel * >> chip_channels=0) |
inline ::flatbuffers::Offset< SystemDesc > | CreateSystemDescDirect (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector<::flatbuffers::Offset< tt::target::CPUDesc >> *cpu_descs=nullptr, const std::vector<::flatbuffers::Offset< tt::target::ChipDesc >> *chip_descs=nullptr, const std::vector< uint32_t > *chip_desc_indices=nullptr, const std::vector< tt::target::ChipCapability > *chip_capabilities=nullptr, const std::vector< tt::target::ChipCoord > *chip_coords=nullptr, const std::vector< tt::target::ChipChannel > *chip_channels=nullptr) |
inline ::flatbuffers::Offset< DeviceRef > | CreateDeviceRef (::flatbuffers::FlatBufferBuilder &_fbb, uint32_t global_id=0) |
inline ::flatbuffers::Offset< EventRef > | CreateEventRef (::flatbuffers::FlatBufferBuilder &_fbb, uint32_t global_id=0) |
FLATBUFFERS_STRUCT_END (Version, 8) | |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
inline ::flatbuffers::Offset<AllGatherTensor> tt::target::CreateAllGatherTensor | ( | ::flatbuffers::FlatBufferBuilder & | _fbb | ) |
inline ::flatbuffers::Offset<CBDesc> tt::target::CreateCBDesc | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
uint32_t | port = 0 , |
||
::flatbuffers::Offset< tt::target::MemoryDesc > | memory_desc = 0 , |
||
uint64_t | page_size = 0 , |
||
uint64_t | num_buffers = 0 |
||
) |
inline ::flatbuffers::Offset<CBRef> tt::target::CreateCBRef | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
uint32_t | global_id = 0 , |
||
::flatbuffers::Offset< tt::target::TensorRef > | tensor_ref = 0 , |
||
uint64_t | address = 0 , |
||
::flatbuffers::Offset< tt::target::CBDesc > | desc = 0 |
||
) |
inline ::flatbuffers::Offset<ChipDesc> tt::target::CreateChipDesc | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
tt::target::Arch | arch = tt::target::Arch::Grayskull , |
||
const tt::target::Dim2d * | grid_size = nullptr , |
||
uint64_t | l1_size = 0 , |
||
uint32_t | num_dram_channels = 0 , |
||
uint64_t | dram_channel_size = 0 , |
||
uint32_t | noc_l1_address_align_bytes = 0 , |
||
uint32_t | pcie_address_align_bytes = 0 , |
||
uint32_t | noc_dram_address_align_bytes = 0 , |
||
uint32_t | l1_unreserved_base = 0 , |
||
uint32_t | erisc_l1_unreserved_base = 0 , |
||
uint32_t | dram_unreserved_base = 0 , |
||
uint32_t | dram_unreserved_end = 0 , |
||
::flatbuffers::Offset< tt::target::ChipPhysicalCores > | physical_cores = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< tt::target::DataType >> | supported_data_types = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> | supported_tile_sizes = 0 , |
||
uint32_t | num_cbs = 0 |
||
) |
inline ::flatbuffers::Offset<ChipDesc> tt::target::CreateChipDescDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
tt::target::Arch | arch = tt::target::Arch::Grayskull , |
||
const tt::target::Dim2d * | grid_size = nullptr , |
||
uint64_t | l1_size = 0 , |
||
uint32_t | num_dram_channels = 0 , |
||
uint64_t | dram_channel_size = 0 , |
||
uint32_t | noc_l1_address_align_bytes = 0 , |
||
uint32_t | pcie_address_align_bytes = 0 , |
||
uint32_t | noc_dram_address_align_bytes = 0 , |
||
uint32_t | l1_unreserved_base = 0 , |
||
uint32_t | erisc_l1_unreserved_base = 0 , |
||
uint32_t | dram_unreserved_base = 0 , |
||
uint32_t | dram_unreserved_end = 0 , |
||
::flatbuffers::Offset< tt::target::ChipPhysicalCores > | physical_cores = 0 , |
||
const std::vector< tt::target::DataType > * | supported_data_types = nullptr , |
||
const std::vector< tt::target::Dim2d > * | supported_tile_sizes = nullptr , |
||
uint32_t | num_cbs = 0 |
||
) |
inline ::flatbuffers::Offset<ChipPhysicalCores> tt::target::CreateChipPhysicalCores | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> | worker = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> | dram = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> | eth = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2d * >> | eth_inactive = 0 |
||
) |
inline ::flatbuffers::Offset<ChipPhysicalCores> tt::target::CreateChipPhysicalCoresDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const std::vector< tt::target::Dim2d > * | worker = nullptr , |
||
const std::vector< tt::target::Dim2d > * | dram = nullptr , |
||
const std::vector< tt::target::Dim2d > * | eth = nullptr , |
||
const std::vector< tt::target::Dim2d > * | eth_inactive = nullptr |
||
) |
inline ::flatbuffers::Offset<CPUDesc> tt::target::CreateCPUDesc | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
tt::target::CPURole | role = tt::target::CPURole::Host , |
||
::flatbuffers::Offset<::flatbuffers::String > | target_triple = 0 |
||
) |
inline ::flatbuffers::Offset<CPUDesc> tt::target::CreateCPUDescDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
tt::target::CPURole | role = tt::target::CPURole::Host , |
||
const char * | target_triple = nullptr |
||
) |
inline ::flatbuffers::Offset<DebugInfo> tt::target::CreateDebugInfo | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset< tt::target::MLIR > | mlir = 0 , |
||
::flatbuffers::Offset<::flatbuffers::String > | cpp = 0 , |
||
::flatbuffers::Offset< tt::target::GoldenInfo > | golden_info = 0 |
||
) |
inline ::flatbuffers::Offset<DebugInfo> tt::target::CreateDebugInfoDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset< tt::target::MLIR > | mlir = 0 , |
||
const char * | cpp = nullptr , |
||
::flatbuffers::Offset< tt::target::GoldenInfo > | golden_info = 0 |
||
) |
inline ::flatbuffers::Offset<DeviceRef> tt::target::CreateDeviceRef | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
uint32_t | global_id = 0 |
||
) |
inline ::flatbuffers::Offset<DistributionStrategy> tt::target::CreateDistributionStrategy | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
tt::target::DistributedTensorConfig | strategy_type = tt::target::DistributedTensorConfig::NONE , |
||
::flatbuffers::Offset< void > | strategy = 0 |
||
) |
inline ::flatbuffers::Offset<EventRef> tt::target::CreateEventRef | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
uint32_t | global_id = 0 |
||
) |
inline ::flatbuffers::Offset<GoldenInfo> tt::target::CreateGoldenInfo | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::GoldenKV >>> | golden_map = 0 |
||
) |
inline ::flatbuffers::Offset<GoldenInfo> tt::target::CreateGoldenInfoDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const std::vector<::flatbuffers::Offset< tt::target::GoldenKV >> * | golden_map = nullptr |
||
) |
inline ::flatbuffers::Offset<GoldenKV> tt::target::CreateGoldenKV | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::String > | key = 0 , |
||
::flatbuffers::Offset< tt::target::GoldenTensor > | value = 0 |
||
) |
inline ::flatbuffers::Offset<GoldenKV> tt::target::CreateGoldenKVDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const char * | key = nullptr , |
||
::flatbuffers::Offset< tt::target::GoldenTensor > | value = 0 |
||
) |
inline ::flatbuffers::Offset<GoldenTensor> tt::target::CreateGoldenTensor | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::String > | name = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> | shape = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> | stride = 0 , |
||
tt::target::DataType | dtype = tt::target::DataType::Float32 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< uint8_t >> | data = 0 |
||
) |
inline ::flatbuffers::Offset<GoldenTensor> tt::target::CreateGoldenTensorDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const char * | name = nullptr , |
||
const std::vector< int64_t > * | shape = nullptr , |
||
const std::vector< int64_t > * | stride = nullptr , |
||
tt::target::DataType | dtype = tt::target::DataType::Float32 , |
||
const std::vector< uint8_t > * | data = nullptr |
||
) |
inline ::flatbuffers::Offset<LayoutDesc> tt::target::CreateLayoutDesc | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> | stride = 0 , |
||
tt::target::OOBVal | oob_val = tt::target::OOBVal::Undef , |
||
::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::Dim2dRange * >> | core_range_set = 0 , |
||
::flatbuffers::Offset< tt::target::MemoryDesc > | memory_desc = 0 , |
||
::flatbuffers::Offset< tt::target::DistributionStrategy > | strategy = 0 |
||
) |
inline ::flatbuffers::Offset<LayoutDesc> tt::target::CreateLayoutDescDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const std::vector< int32_t > * | stride = nullptr , |
||
tt::target::OOBVal | oob_val = tt::target::OOBVal::Undef , |
||
const std::vector< tt::target::Dim2dRange > * | core_range_set = nullptr , |
||
::flatbuffers::Offset< tt::target::MemoryDesc > | memory_desc = 0 , |
||
::flatbuffers::Offset< tt::target::DistributionStrategy > | strategy = 0 |
||
) |
inline ::flatbuffers::Offset<MemoryConfigDesc> tt::target::CreateMemoryConfigDesc | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
tt::target::TensorMemoryLayout | tensor_memory_layout = tt::target::TensorMemoryLayout::None , |
||
tt::target::BufferType | buffer_type = tt::target::BufferType::DRAM , |
||
::flatbuffers::Offset< tt::target::ShardSpec > | shard_spec = 0 |
||
) |
inline ::flatbuffers::Offset<MemoryDesc> tt::target::CreateMemoryDesc | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> | shape = 0 , |
||
const tt::target::Dim2d * | tile_shape = nullptr , |
||
tt::target::DataType | data_type = tt::target::DataType::Float32 , |
||
tt::target::MemorySpace | memory_space = tt::target::MemorySpace::System , |
||
tt::target::TensorMemoryLayout | memory_layout = tt::target::TensorMemoryLayout::None , |
||
uint64_t | size = 0 |
||
) |
inline ::flatbuffers::Offset<MemoryDesc> tt::target::CreateMemoryDescDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const std::vector< int32_t > * | shape = nullptr , |
||
const tt::target::Dim2d * | tile_shape = nullptr , |
||
tt::target::DataType | data_type = tt::target::DataType::Float32 , |
||
tt::target::MemorySpace | memory_space = tt::target::MemorySpace::System , |
||
tt::target::TensorMemoryLayout | memory_layout = tt::target::TensorMemoryLayout::None , |
||
uint64_t | size = 0 |
||
) |
inline ::flatbuffers::Offset<MLIR> tt::target::CreateMLIR | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::String > | name = 0 , |
||
::flatbuffers::Offset<::flatbuffers::String > | source = 0 |
||
) |
inline ::flatbuffers::Offset<MLIR> tt::target::CreateMLIRDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const char * | name = nullptr , |
||
const char * | source = nullptr |
||
) |
inline ::flatbuffers::Offset<ReplicateTensor> tt::target::CreateReplicateTensor | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
uint32_t | replication_factor = 0 |
||
) |
inline ::flatbuffers::Offset<ShardSpec> tt::target::CreateShardSpec | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> | shard_shape = 0 |
||
) |
inline ::flatbuffers::Offset<ShardSpec> tt::target::CreateShardSpecDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const std::vector< int64_t > * | shard_shape = nullptr |
||
) |
inline ::flatbuffers::Offset<ShardTensor> tt::target::CreateShardTensor | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
uint32_t | shard_dim = 0 |
||
) |
inline ::flatbuffers::Offset<ShardTensor2D> tt::target::CreateShardTensor2D | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const tt::target::Dim2d * | shard_mesh = nullptr |
||
) |
inline ::flatbuffers::Offset<SystemDesc> tt::target::CreateSystemDesc | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::CPUDesc >>> | cpu_descs = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::ChipDesc >>> | chip_descs = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< uint32_t >> | chip_desc_indices = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< tt::target::ChipCapability >> | chip_capabilities = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::ChipCoord * >> | chip_coords = 0 , |
||
::flatbuffers::Offset<::flatbuffers::Vector< const tt::target::ChipChannel * >> | chip_channels = 0 |
||
) |
inline ::flatbuffers::Offset<SystemDesc> tt::target::CreateSystemDescDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const std::vector<::flatbuffers::Offset< tt::target::CPUDesc >> * | cpu_descs = nullptr , |
||
const std::vector<::flatbuffers::Offset< tt::target::ChipDesc >> * | chip_descs = nullptr , |
||
const std::vector< uint32_t > * | chip_desc_indices = nullptr , |
||
const std::vector< tt::target::ChipCapability > * | chip_capabilities = nullptr , |
||
const std::vector< tt::target::ChipCoord > * | chip_coords = nullptr , |
||
const std::vector< tt::target::ChipChannel > * | chip_channels = nullptr |
||
) |
inline ::flatbuffers::Offset<SystemDescRoot> tt::target::CreateSystemDescRoot | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const tt::target::Version * | version = nullptr , |
||
::flatbuffers::Offset<::flatbuffers::String > | ttmlir_git_hash = 0 , |
||
::flatbuffers::Offset<::flatbuffers::String > | product_identifier = 0 , |
||
::flatbuffers::Offset< tt::target::SystemDesc > | system_desc = 0 |
||
) |
inline ::flatbuffers::Offset<SystemDescRoot> tt::target::CreateSystemDescRootDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const tt::target::Version * | version = nullptr , |
||
const char * | ttmlir_git_hash = nullptr , |
||
const char * | product_identifier = nullptr , |
||
::flatbuffers::Offset< tt::target::SystemDesc > | system_desc = 0 |
||
) |
inline ::flatbuffers::Offset<TensorDesc> tt::target::CreateTensorDesc | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> | shape = 0 , |
||
::flatbuffers::Offset< tt::target::LayoutDesc > | layout = 0 |
||
) |
inline ::flatbuffers::Offset<TensorDesc> tt::target::CreateTensorDescDirect | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
const std::vector< int32_t > * | shape = nullptr , |
||
::flatbuffers::Offset< tt::target::LayoutDesc > | layout = 0 |
||
) |
inline ::flatbuffers::Offset<TensorRef> tt::target::CreateTensorRef | ( | ::flatbuffers::FlatBufferBuilder & | _fbb, |
uint32_t | global_id = 0 , |
||
uint64_t | address = 0 , |
||
uint64_t | size = 0 , |
||
::flatbuffers::Offset< tt::target::TensorDesc > | desc = 0 |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
tt::target::FLATBUFFERS_MANUALLY_ALIGNED_STRUCT | ( | 4 | ) |
tt::target::FLATBUFFERS_STRUCT_END | ( | ChipChannel | , |
24 | |||
) |
tt::target::FLATBUFFERS_STRUCT_END | ( | ChipCoord | , |
16 | |||
) |
tt::target::FLATBUFFERS_STRUCT_END | ( | Dim2d | , |
8 | |||
) |
tt::target::FLATBUFFERS_STRUCT_END | ( | Dim2dRange | , |
16 | |||
) |
tt::target::FLATBUFFERS_STRUCT_END | ( | Version | , |
8 | |||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |