TT-MLIR
Classes | Namespaces | Enumerations | Functions | Variables
command_generated.h File Reference
#include "flatbuffers/flatbuffers.h"
#include "program_generated.h"

Go to the source code of this file.

Classes

struct  tt::target::metal::HostBufferTraits< T >
 
struct  tt::target::metal::HostBufferTraits< tt::target::TensorRef >
 
struct  tt::target::metal::HostBufferTraits< tt::target::metal::ConstantBuffer8 >
 
struct  tt::target::metal::HostBufferTraits< tt::target::metal::ConstantBuffer16 >
 
struct  tt::target::metal::HostBufferTraits< tt::target::metal::ConstantBuffer32 >
 
struct  tt::target::metal::CommandTypeTraits< T >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::EnqueueProgramCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::EnqueueWriteBufferCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::EnqueueReadBufferCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::CreateBufferCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::DeallocateBufferCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::CreateEventCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::EnqueueRecordEventCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::EnqueueWaitForEventCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::EventSynchronizeCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::EventQueryCommand >
 
struct  tt::target::metal::CommandTypeTraits< tt::target::metal::FinishCommand >
 
struct  tt::target::metal::FLATBUFFERS_FINAL_CLASS
 
struct  tt::target::metal::EnqueueProgramCommandBuilder
 
struct  tt::target::metal::EnqueueProgramCommand::Traits
 
struct  tt::target::metal::ConstantBuffer8Builder
 
struct  tt::target::metal::ConstantBuffer8::Traits
 
struct  tt::target::metal::ConstantBuffer16Builder
 
struct  tt::target::metal::ConstantBuffer16::Traits
 
struct  tt::target::metal::ConstantBuffer32Builder
 
struct  tt::target::metal::ConstantBuffer32::Traits
 
struct  tt::target::metal::EnqueueWriteBufferCommandBuilder
 
struct  tt::target::metal::EnqueueWriteBufferCommand::Traits
 
struct  tt::target::metal::EnqueueReadBufferCommandBuilder
 
struct  tt::target::metal::EnqueueReadBufferCommand::Traits
 
struct  tt::target::metal::CreateBufferCommandBuilder
 
struct  tt::target::metal::CreateBufferCommand::Traits
 
struct  tt::target::metal::DeallocateBufferCommandBuilder
 
struct  tt::target::metal::DeallocateBufferCommand::Traits
 
struct  tt::target::metal::CreateEventCommandBuilder
 
struct  tt::target::metal::CreateEventCommand::Traits
 
struct  tt::target::metal::EnqueueRecordEventCommandBuilder
 
struct  tt::target::metal::EnqueueRecordEventCommand::Traits
 
struct  tt::target::metal::EnqueueWaitForEventCommandBuilder
 
struct  tt::target::metal::EnqueueWaitForEventCommand::Traits
 
struct  tt::target::metal::EventSynchronizeCommandBuilder
 
struct  tt::target::metal::EventSynchronizeCommand::Traits
 
struct  tt::target::metal::EventQueryCommandBuilder
 
struct  tt::target::metal::EventQueryCommand::Traits
 
struct  tt::target::metal::FinishCommandBuilder
 
struct  tt::target::metal::FinishCommand::Traits
 
struct  tt::target::metal::CommandBuilder
 
struct  tt::target::metal::Command::Traits
 
struct  tt::target::metal::CommandQueueBuilder
 
struct  tt::target::metal::CommandQueue::Traits
 

Namespaces

 tt
 
 tt::target
 
 tt::target::metal
 

Enumerations

enum class  tt::target::metal::HostBuffer : uint8_t {
  tt::target::metal::NONE = 0 , tt::target::metal::TensorRef = 1 , tt::target::metal::ConstantBuffer8 = 2 , tt::target::metal::ConstantBuffer16 = 3 ,
  tt::target::metal::ConstantBuffer32 = 4 , tt::target::metal::MIN = NONE , tt::target::metal::MAX = ConstantBuffer32
}
 
enum class  tt::target::metal::CommandType : uint8_t {
  tt::target::metal::NONE = 0 , tt::target::metal::EnqueueProgramCommand = 1 , tt::target::metal::EnqueueWriteBufferCommand = 2 , tt::target::metal::EnqueueReadBufferCommand = 3 ,
  tt::target::metal::CreateBufferCommand = 4 , tt::target::metal::DeallocateBufferCommand = 5 , tt::target::metal::CreateEventCommand = 6 , tt::target::metal::EnqueueRecordEventCommand = 7 ,
  tt::target::metal::EnqueueWaitForEventCommand = 8 , tt::target::metal::EventSynchronizeCommand = 9 , tt::target::metal::EventQueryCommand = 10 , tt::target::metal::FinishCommand = 11 ,
  tt::target::metal::MIN = NONE , tt::target::metal::MAX = FinishCommand
}
 

Functions

const HostBuffer(& tt::target::metal::EnumValuesHostBuffer ())[5]
 
const char *const * tt::target::metal::EnumNamesHostBuffer ()
 
const char * tt::target::metal::EnumNameHostBuffer (HostBuffer e)
 
bool tt::target::metal::VerifyHostBuffer (::flatbuffers::Verifier &verifier, const void *obj, HostBuffer type)
 
bool tt::target::metal::VerifyHostBufferVector (::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset< void >> *values, const ::flatbuffers::Vector< HostBuffer > *types)
 
const CommandType(& tt::target::metal::EnumValuesCommandType ())[12]
 
const char *const * tt::target::metal::EnumNamesCommandType ()
 
const char * tt::target::metal::EnumNameCommandType (CommandType e)
 
bool tt::target::metal::VerifyCommandType (::flatbuffers::Verifier &verifier, const void *obj, CommandType type)
 
bool tt::target::metal::VerifyCommandTypeVector (::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset< void >> *values, const ::flatbuffers::Vector< CommandType > *types)
 
inline ::flatbuffers::Offset< EnqueueProgramCommand > tt::target::metal::CreateEnqueueProgramCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> operands=0, ::flatbuffers::Offset< tt::target::metal::ProgramDesc > program=0)
 
inline ::flatbuffers::Offset< EnqueueProgramCommand > tt::target::metal::CreateEnqueueProgramCommandDirect (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector<::flatbuffers::Offset< tt::target::TensorRef >> *operands=nullptr, ::flatbuffers::Offset< tt::target::metal::ProgramDesc > program=0)
 
inline ::flatbuffers::Offset< ConstantBuffer8 > tt::target::metal::CreateConstantBuffer8 (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< uint8_t >> data=0)
 
inline ::flatbuffers::Offset< ConstantBuffer8 > tt::target::metal::CreateConstantBuffer8Direct (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< uint8_t > *data=nullptr)
 
inline ::flatbuffers::Offset< ConstantBuffer16 > tt::target::metal::CreateConstantBuffer16 (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< uint16_t >> data=0)
 
inline ::flatbuffers::Offset< ConstantBuffer16 > tt::target::metal::CreateConstantBuffer16Direct (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< uint16_t > *data=nullptr)
 
inline ::flatbuffers::Offset< ConstantBuffer32 > tt::target::metal::CreateConstantBuffer32 (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< uint32_t >> data=0)
 
inline ::flatbuffers::Offset< ConstantBuffer32 > tt::target::metal::CreateConstantBuffer32Direct (::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< uint32_t > *data=nullptr)
 
template<>
const tt::target::TensorRef * tt::target::metal::EnqueueWriteBufferCommand::src_as< tt::target::TensorRef > () const
 
template<>
const tt::target::metal::ConstantBuffer8 * tt::target::metal::EnqueueWriteBufferCommand::src_as< tt::target::metal::ConstantBuffer8 > () const
 
template<>
const tt::target::metal::ConstantBuffer16 * tt::target::metal::EnqueueWriteBufferCommand::src_as< tt::target::metal::ConstantBuffer16 > () const
 
template<>
const tt::target::metal::ConstantBuffer32 * tt::target::metal::EnqueueWriteBufferCommand::src_as< tt::target::metal::ConstantBuffer32 > () const
 
inline ::flatbuffers::Offset< EnqueueWriteBufferCommand > tt::target::metal::CreateEnqueueWriteBufferCommand (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::metal::HostBuffer src_type=tt::target::metal::HostBuffer::NONE, ::flatbuffers::Offset< void > src=0, ::flatbuffers::Offset< tt::target::TensorRef > dst=0)
 
inline ::flatbuffers::Offset< EnqueueReadBufferCommand > tt::target::metal::CreateEnqueueReadBufferCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > src=0, ::flatbuffers::Offset< tt::target::TensorRef > dst=0)
 
inline ::flatbuffers::Offset< CreateBufferCommand > tt::target::metal::CreateCreateBufferCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > ref=0)
 
inline ::flatbuffers::Offset< DeallocateBufferCommand > tt::target::metal::CreateDeallocateBufferCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > ref=0)
 
inline ::flatbuffers::Offset< CreateEventCommand > tt::target::metal::CreateCreateEventCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::EventRef > ref=0)
 
inline ::flatbuffers::Offset< EnqueueRecordEventCommand > tt::target::metal::CreateEnqueueRecordEventCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::EventRef > ref=0)
 
inline ::flatbuffers::Offset< EnqueueWaitForEventCommand > tt::target::metal::CreateEnqueueWaitForEventCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::EventRef > ref=0)
 
inline ::flatbuffers::Offset< EventSynchronizeCommand > tt::target::metal::CreateEventSynchronizeCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::EventRef > ref=0)
 
inline ::flatbuffers::Offset< EventQueryCommand > tt::target::metal::CreateEventQueryCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::EventRef > ref=0)
 
inline ::flatbuffers::Offset< FinishCommand > tt::target::metal::CreateFinishCommand (::flatbuffers::FlatBufferBuilder &_fbb)
 
template<>
const tt::target::metal::EnqueueProgramCommand * tt::target::metal::Command::type_as< tt::target::metal::EnqueueProgramCommand > () const
 
template<>
const tt::target::metal::EnqueueWriteBufferCommand * tt::target::metal::Command::type_as< tt::target::metal::EnqueueWriteBufferCommand > () const
 
template<>
const tt::target::metal::EnqueueReadBufferCommand * tt::target::metal::Command::type_as< tt::target::metal::EnqueueReadBufferCommand > () const
 
template<>
const tt::target::metal::CreateBufferCommand * tt::target::metal::Command::type_as< tt::target::metal::CreateBufferCommand > () const
 
template<>
const tt::target::metal::DeallocateBufferCommand * tt::target::metal::Command::type_as< tt::target::metal::DeallocateBufferCommand > () const
 
template<>
const tt::target::metal::CreateEventCommand * tt::target::metal::Command::type_as< tt::target::metal::CreateEventCommand > () const
 
template<>
const tt::target::metal::EnqueueRecordEventCommand * tt::target::metal::Command::type_as< tt::target::metal::EnqueueRecordEventCommand > () const
 
template<>
const tt::target::metal::EnqueueWaitForEventCommand * tt::target::metal::Command::type_as< tt::target::metal::EnqueueWaitForEventCommand > () const
 
template<>
const tt::target::metal::EventSynchronizeCommand * tt::target::metal::Command::type_as< tt::target::metal::EventSynchronizeCommand > () const
 
template<>
const tt::target::metal::EventQueryCommand * tt::target::metal::Command::type_as< tt::target::metal::EventQueryCommand > () const
 
template<>
const tt::target::metal::FinishCommand * tt::target::metal::Command::type_as< tt::target::metal::FinishCommand > () const
 
inline ::flatbuffers::Offset< Command > tt::target::metal::CreateCommand (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::metal::CommandType type_type=tt::target::metal::CommandType::NONE, ::flatbuffers::Offset< void > type=0, ::flatbuffers::Offset<::flatbuffers::String > debug_info=0)
 
inline ::flatbuffers::Offset< Command > tt::target::metal::CreateCommandDirect (::flatbuffers::FlatBufferBuilder &_fbb, tt::target::metal::CommandType type_type=tt::target::metal::CommandType::NONE, ::flatbuffers::Offset< void > type=0, const char *debug_info=nullptr)
 
inline ::flatbuffers::Offset< CommandQueue > tt::target::metal::CreateCommandQueue (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::String > name=0, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::metal::Command >>> commands=0)
 
inline ::flatbuffers::Offset< CommandQueue > tt::target::metal::CreateCommandQueueDirect (::flatbuffers::FlatBufferBuilder &_fbb, const char *name=nullptr, const std::vector<::flatbuffers::Offset< tt::target::metal::Command >> *commands=nullptr)
 

Variables

 VT_OPERANDS = 4
 
 VT_SRC_TYPE = 4
 
 VT_SRC = 6
 
 VT_TYPE_TYPE = 4
 
 VT_TYPE = 6
 
 VT_NAME = 4
 

Variable Documentation

◆ VT_NAME

VT_NAME = 4

◆ VT_OPERANDS

VT_OPERANDS = 4

◆ VT_SRC

VT_SRC = 6

◆ VT_SRC_TYPE

VT_SRC_TYPE = 4

◆ VT_TYPE

VT_TYPE = 6

◆ VT_TYPE_TYPE

VT_TYPE_TYPE = 4