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

Public Member Functions

ThreadType getThreadType () const
 
void print (::mlir::AsmPrinter &odsPrinter) const
 
MathFidelity getMathFidelity () const
 
bool getFp32DestAccEn () const
 
bool getPreserveFp32Precision () const
 
bool getMathApproxMode () const
 

Static Public Member Functions

static TensixConfigAttr get (::mlir::MLIRContext *context)
 
static TensixConfigAttr get (::mlir::MLIRContext *context, MathFidelity math_fidelity, bool fp32_dest_acc_en, bool preserve_fp32_precision, bool math_approx_mode)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

static constexpr ::llvm::StringLiteral name = "ttkernel.tensix_config"
 
static constexpr ::llvm::StringLiteral dialectName = "ttkernel"
 

Member Function Documentation

◆ get() [1/2]

static TensixConfigAttr mlir::tt::ttkernel::TensixConfigAttr::get ( ::mlir::MLIRContext *  context)
inlinestatic

◆ get() [2/2]

TensixConfigAttr mlir::tt::ttkernel::TensixConfigAttr::get ( ::mlir::MLIRContext *  context,
MathFidelity  math_fidelity,
bool  fp32_dest_acc_en,
bool  preserve_fp32_precision,
bool  math_approx_mode 
)
static

◆ getFp32DestAccEn()

bool mlir::tt::ttkernel::TensixConfigAttr::getFp32DestAccEn ( ) const

◆ getMathApproxMode()

bool mlir::tt::ttkernel::TensixConfigAttr::getMathApproxMode ( ) const

◆ getMathFidelity()

MathFidelity mlir::tt::ttkernel::TensixConfigAttr::getMathFidelity ( ) const

◆ getMnemonic()

static constexpr ::llvm::StringLiteral mlir::tt::ttkernel::TensixConfigAttr::getMnemonic ( )
inlinestatic

◆ getPreserveFp32Precision()

bool mlir::tt::ttkernel::TensixConfigAttr::getPreserveFp32Precision ( ) const

◆ getThreadType()

ThreadType mlir::tt::ttkernel::TensixConfigAttr::getThreadType ( ) const
inline

◆ parse()

mlir::Attribute mlir::tt::ttkernel::TensixConfigAttr::parse ( ::mlir::AsmParser &  odsParser,
::mlir::Type  odsType 
)
static

◆ print()

void mlir::tt::ttkernel::TensixConfigAttr::print ( ::mlir::AsmPrinter &  odsPrinter) const

Member Data Documentation

◆ dialectName

constexpr ::llvm::StringLiteral mlir::tt::ttkernel::TensixConfigAttr::dialectName = "ttkernel"
static

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ttkernel::TensixConfigAttr::name = "ttkernel.tensix_config"
static

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