TT-MLIR
Namespaces | Classes | Enumerations | Functions
mlir::tt::ttmetal Namespace Reference

Namespaces

 detail
 

Classes

class  KernelConfigInterface
 
class  CreateBufferOpGenericAdaptor
 
class  CreateBufferOpAdaptor
 
class  CreateBufferOp
 
class  DeallocateBufferOpGenericAdaptor
 
class  DeallocateBufferOpAdaptor
 
class  DeallocateBufferOp
 
class  EnqueueProgramOpGenericAdaptor
 
class  EnqueueProgramOpAdaptor
 
class  EnqueueProgramOp
 
class  EnqueueReadBufferOpGenericAdaptor
 
class  EnqueueReadBufferOpAdaptor
 
class  EnqueueReadBufferOp
 
class  EnqueueWriteBufferOpGenericAdaptor
 
class  EnqueueWriteBufferOpAdaptor
 
class  EnqueueWriteBufferOp
 
class  FinishOpGenericAdaptor
 
class  FinishOpAdaptor
 
class  FinishOp
 
class  CoreRangeAttr
 
class  KernelArgAttr
 
class  KernelArgsAttr
 
class  ComputeConfigAttr
 
class  NocConfigAttr
 
class  EthernetConfigAttr
 
class  TTMetalDialect
 

Enumerations

enum class  EthType : uint32_t { Sender = 0 , Receiver = 1 }
 
enum class  MathFidelity : uint32_t { LoFi = 0 , HiFi2 = 2 , HiFi3 = 3 , HiFi4 = 4 }
 
enum class  NocIndex : uint32_t { Noc0 = 0 , Noc1 = 1 }
 
enum class  UnpackToDestMode : uint32_t { Fp32 = 0 , Default = 1 }
 

Functions

::llvm::LogicalResult __mlir_ods_local_type_constraint_TTMetalOps1 (::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind, unsigned valueIndex)
 
::llvm::LogicalResult __mlir_ods_local_type_constraint_TTMetalOps2 (::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind, unsigned valueIndex)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTMetalOps1 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTMetalOps1 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTMetalOps2 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTMetalOps2 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTMetalOps3 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTMetalOps3 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::StringRef stringifyEthType (EthType val)
 
::std::optional< EthTypesymbolizeEthType (::llvm::StringRef str)
 
::std::optional< EthTypesymbolizeEthType (uint32_t value)
 
::llvm::StringRef stringifyMathFidelity (MathFidelity val)
 
::std::optional< MathFidelitysymbolizeMathFidelity (::llvm::StringRef str)
 
::std::optional< MathFidelitysymbolizeMathFidelity (uint32_t value)
 
::llvm::StringRef stringifyNocIndex (NocIndex val)
 
::std::optional< NocIndexsymbolizeNocIndex (::llvm::StringRef str)
 
::std::optional< NocIndexsymbolizeNocIndex (uint32_t value)
 
::llvm::StringRef stringifyUnpackToDestMode (UnpackToDestMode val)
 
::std::optional< UnpackToDestModesymbolizeUnpackToDestMode (::llvm::StringRef str)
 
::std::optional< UnpackToDestModesymbolizeUnpackToDestMode (uint32_t value)
 
constexpr unsigned getMaxEnumValForEthType ()
 
inline ::llvm::StringRef stringifyEnum (EthType enumValue)
 
template<typename EnumType >
::std::optional< EnumType > symbolizeEnum (::llvm::StringRef)
 
template<>
inline ::std::optional< EthTypesymbolizeEnum< EthType > (::llvm::StringRef str)
 
constexpr unsigned getMaxEnumValForMathFidelity ()
 
inline ::llvm::StringRef stringifyEnum (MathFidelity enumValue)
 
template<>
inline ::std::optional< MathFidelitysymbolizeEnum< MathFidelity > (::llvm::StringRef str)
 
constexpr unsigned getMaxEnumValForNocIndex ()
 
inline ::llvm::StringRef stringifyEnum (NocIndex enumValue)
 
template<>
inline ::std::optional< NocIndexsymbolizeEnum< NocIndex > (::llvm::StringRef str)
 
constexpr unsigned getMaxEnumValForUnpackToDestMode ()
 
inline ::llvm::StringRef stringifyEnum (UnpackToDestMode enumValue)
 
template<>
inline ::std::optional< UnpackToDestModesymbolizeEnum< UnpackToDestMode > (::llvm::StringRef str)
 

Enumeration Type Documentation

◆ EthType

enum mlir::tt::ttmetal::EthType : uint32_t
strong
Enumerator
Sender 
Receiver 

◆ MathFidelity

enum mlir::tt::ttmetal::MathFidelity : uint32_t
strong
Enumerator
LoFi 
HiFi2 
HiFi3 
HiFi4 

◆ NocIndex

enum mlir::tt::ttmetal::NocIndex : uint32_t
strong
Enumerator
Noc0 
Noc1 

◆ UnpackToDestMode

enum mlir::tt::ttmetal::UnpackToDestMode : uint32_t
strong
Enumerator
Fp32 
Default 

Function Documentation

◆ __mlir_ods_local_attr_constraint_TTMetalOps1() [1/2]

::llvm::LogicalResult mlir::tt::ttmetal::__mlir_ods_local_attr_constraint_TTMetalOps1 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTMetalOps1() [2/2]

::llvm::LogicalResult mlir::tt::ttmetal::__mlir_ods_local_attr_constraint_TTMetalOps1 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTMetalOps2() [1/2]

::llvm::LogicalResult mlir::tt::ttmetal::__mlir_ods_local_attr_constraint_TTMetalOps2 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTMetalOps2() [2/2]

::llvm::LogicalResult mlir::tt::ttmetal::__mlir_ods_local_attr_constraint_TTMetalOps2 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTMetalOps3() [1/2]

::llvm::LogicalResult mlir::tt::ttmetal::__mlir_ods_local_attr_constraint_TTMetalOps3 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTMetalOps3() [2/2]

::llvm::LogicalResult mlir::tt::ttmetal::__mlir_ods_local_attr_constraint_TTMetalOps3 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_type_constraint_TTMetalOps1()

::llvm::LogicalResult mlir::tt::ttmetal::__mlir_ods_local_type_constraint_TTMetalOps1 ( ::mlir::Operation *  op,
::mlir::Type  type,
::llvm::StringRef  valueKind,
unsigned  valueIndex 
)
static

◆ __mlir_ods_local_type_constraint_TTMetalOps2()

::llvm::LogicalResult mlir::tt::ttmetal::__mlir_ods_local_type_constraint_TTMetalOps2 ( ::mlir::Operation *  op,
::mlir::Type  type,
::llvm::StringRef  valueKind,
unsigned  valueIndex 
)
static

◆ getMaxEnumValForEthType()

constexpr unsigned mlir::tt::ttmetal::getMaxEnumValForEthType ( )
inlineconstexpr

◆ getMaxEnumValForMathFidelity()

constexpr unsigned mlir::tt::ttmetal::getMaxEnumValForMathFidelity ( )
inlineconstexpr

◆ getMaxEnumValForNocIndex()

constexpr unsigned mlir::tt::ttmetal::getMaxEnumValForNocIndex ( )
inlineconstexpr

◆ getMaxEnumValForUnpackToDestMode()

constexpr unsigned mlir::tt::ttmetal::getMaxEnumValForUnpackToDestMode ( )
inlineconstexpr

◆ stringifyEnum() [1/4]

inline ::llvm::StringRef mlir::tt::ttmetal::stringifyEnum ( EthType  enumValue)

◆ stringifyEnum() [2/4]

inline ::llvm::StringRef mlir::tt::ttmetal::stringifyEnum ( MathFidelity  enumValue)

◆ stringifyEnum() [3/4]

inline ::llvm::StringRef mlir::tt::ttmetal::stringifyEnum ( NocIndex  enumValue)

◆ stringifyEnum() [4/4]

inline ::llvm::StringRef mlir::tt::ttmetal::stringifyEnum ( UnpackToDestMode  enumValue)

◆ stringifyEthType()

llvm::StringRef mlir::tt::ttmetal::stringifyEthType ( EthType  val)

◆ stringifyMathFidelity()

llvm::StringRef mlir::tt::ttmetal::stringifyMathFidelity ( MathFidelity  val)

◆ stringifyNocIndex()

llvm::StringRef mlir::tt::ttmetal::stringifyNocIndex ( NocIndex  val)

◆ stringifyUnpackToDestMode()

llvm::StringRef mlir::tt::ttmetal::stringifyUnpackToDestMode ( UnpackToDestMode  val)

◆ symbolizeEnum()

template<typename EnumType >
::std::optional<EnumType> mlir::tt::ttmetal::symbolizeEnum ( ::llvm::StringRef  )

◆ symbolizeEnum< EthType >()

template<>
inline ::std::optional<EthType> mlir::tt::ttmetal::symbolizeEnum< EthType > ( ::llvm::StringRef  str)

◆ symbolizeEnum< MathFidelity >()

template<>
inline ::std::optional<MathFidelity> mlir::tt::ttmetal::symbolizeEnum< MathFidelity > ( ::llvm::StringRef  str)

◆ symbolizeEnum< NocIndex >()

template<>
inline ::std::optional<NocIndex> mlir::tt::ttmetal::symbolizeEnum< NocIndex > ( ::llvm::StringRef  str)

◆ symbolizeEnum< UnpackToDestMode >()

template<>
inline ::std::optional<UnpackToDestMode> mlir::tt::ttmetal::symbolizeEnum< UnpackToDestMode > ( ::llvm::StringRef  str)

◆ symbolizeEthType() [1/2]

std::optional< EthType > mlir::tt::ttmetal::symbolizeEthType ( ::llvm::StringRef  str)

◆ symbolizeEthType() [2/2]

std::optional< EthType > mlir::tt::ttmetal::symbolizeEthType ( uint32_t  value)

◆ symbolizeMathFidelity() [1/2]

std::optional< MathFidelity > mlir::tt::ttmetal::symbolizeMathFidelity ( ::llvm::StringRef  str)

◆ symbolizeMathFidelity() [2/2]

std::optional< MathFidelity > mlir::tt::ttmetal::symbolizeMathFidelity ( uint32_t  value)

◆ symbolizeNocIndex() [1/2]

std::optional< NocIndex > mlir::tt::ttmetal::symbolizeNocIndex ( ::llvm::StringRef  str)

◆ symbolizeNocIndex() [2/2]

std::optional< NocIndex > mlir::tt::ttmetal::symbolizeNocIndex ( uint32_t  value)

◆ symbolizeUnpackToDestMode() [1/2]

std::optional< UnpackToDestMode > mlir::tt::ttmetal::symbolizeUnpackToDestMode ( ::llvm::StringRef  str)

◆ symbolizeUnpackToDestMode() [2/2]

std::optional< UnpackToDestMode > mlir::tt::ttmetal::symbolizeUnpackToDestMode ( uint32_t  value)