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::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::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::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 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< EnqueueWriteBufferCommand > tt::target::metal::CreateEnqueueWriteBufferCommand (::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > 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 = 4
 
 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 = 4

◆ VT_TYPE

VT_TYPE = 6

◆ VT_TYPE_TYPE

VT_TYPE_TYPE = 4