TT-MLIR
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
mlir::tt::ttmetal::ComputeConfigAttr Class Reference
Inheritance diagram for mlir::tt::ttmetal::ComputeConfigAttr:

Public Member Functions

mlir::tt::ttkernel::ThreadType getThreadType () const
 
void print (::mlir::AsmPrinter &odsPrinter) const
 
SymbolRefAttr getKernelSymbol () const
 
CoreRangeAttr getCoreRange () const
 
KernelArgsAttr getKernelArgs () const
 
MathFidelity getMathFidelity () const
 
bool getFp32DestAccEn () const
 
bool getMathApproxMode () const
 
::llvm::ArrayRef< UnpackToDestModegetUnpackToDestMode () const
 

Static Public Member Functions

static ComputeConfigAttr get (mlir::MLIRContext *context, mlir::SymbolRefAttr kernelSymbol, CoreRangeAttr coreRange, KernelArgsAttr kernelArgs)
 
static ComputeConfigAttr get (::mlir::MLIRContext *context, SymbolRefAttr kernel_symbol, CoreRangeAttr core_range, KernelArgsAttr kernel_args, MathFidelity math_fidelity, bool fp32_dest_acc_en, bool math_approx_mode, ::llvm::ArrayRef< UnpackToDestMode > unpack_to_dest_mode)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

static constexpr ::llvm::StringLiteral name = "ttmetal.compute_config"
 
static constexpr ::llvm::StringLiteral dialectName = "ttmetal"
 

Member Function Documentation

◆ get() [1/2]

ComputeConfigAttr mlir::tt::ttmetal::ComputeConfigAttr::get ( ::mlir::MLIRContext *  context,
SymbolRefAttr  kernel_symbol,
CoreRangeAttr  core_range,
KernelArgsAttr  kernel_args,
MathFidelity  math_fidelity,
bool  fp32_dest_acc_en,
bool  math_approx_mode,
::llvm::ArrayRef< UnpackToDestMode unpack_to_dest_mode 
)
static

◆ get() [2/2]

static ComputeConfigAttr mlir::tt::ttmetal::ComputeConfigAttr::get ( mlir::MLIRContext *  context,
mlir::SymbolRefAttr  kernelSymbol,
CoreRangeAttr  coreRange,
KernelArgsAttr  kernelArgs 
)
inlinestatic

◆ getCoreRange()

CoreRangeAttr mlir::tt::ttmetal::ComputeConfigAttr::getCoreRange ( ) const

◆ getFp32DestAccEn()

bool mlir::tt::ttmetal::ComputeConfigAttr::getFp32DestAccEn ( ) const

◆ getKernelArgs()

KernelArgsAttr mlir::tt::ttmetal::ComputeConfigAttr::getKernelArgs ( ) const

◆ getKernelSymbol()

SymbolRefAttr mlir::tt::ttmetal::ComputeConfigAttr::getKernelSymbol ( ) const

◆ getMathApproxMode()

bool mlir::tt::ttmetal::ComputeConfigAttr::getMathApproxMode ( ) const

◆ getMathFidelity()

MathFidelity mlir::tt::ttmetal::ComputeConfigAttr::getMathFidelity ( ) const

◆ getMnemonic()

static constexpr ::llvm::StringLiteral mlir::tt::ttmetal::ComputeConfigAttr::getMnemonic ( )
inlinestatic

◆ getThreadType()

mlir::tt::ttkernel::ThreadType mlir::tt::ttmetal::ComputeConfigAttr::getThreadType ( ) const
inline

◆ getUnpackToDestMode()

llvm::ArrayRef< UnpackToDestMode > mlir::tt::ttmetal::ComputeConfigAttr::getUnpackToDestMode ( ) const

◆ parse()

mlir::Attribute mlir::tt::ttmetal::ComputeConfigAttr::parse ( ::mlir::AsmParser &  odsParser,
::mlir::Type  odsType 
)
static

◆ print()

void mlir::tt::ttmetal::ComputeConfigAttr::print ( ::mlir::AsmPrinter &  odsPrinter) const

Member Data Documentation

◆ dialectName

constexpr ::llvm::StringLiteral mlir::tt::ttmetal::ComputeConfigAttr::dialectName = "ttmetal"
static

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ttmetal::ComputeConfigAttr::name = "ttmetal.compute_config"
static

The documentation for this class was generated from the following files: