TT-MLIR
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::tt::ttkernel::detail::TensixConfigAttrStorage Struct Reference
Inheritance diagram for mlir::tt::ttkernel::detail::TensixConfigAttrStorage:

Public Types

using KeyTy = std::tuple< MathFidelity, bool, bool, bool >
 

Public Member Functions

 TensixConfigAttrStorage (MathFidelity math_fidelity, bool fp32_dest_acc_en, bool preserve_fp32_precision, bool math_approx_mode)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

::llvm::hash_code hashKey (const KeyTy &tblgenKey)
 
static TensixConfigAttrStorageconstruct (::mlir::AttributeStorageAllocator &allocator, KeyTy &&tblgenKey)
 

Public Attributes

MathFidelity math_fidelity
 
bool fp32_dest_acc_en
 
bool preserve_fp32_precision
 
bool math_approx_mode
 

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ TensixConfigAttrStorage()

mlir::tt::ttkernel::detail::TensixConfigAttrStorage::TensixConfigAttrStorage ( MathFidelity  math_fidelity,
bool  fp32_dest_acc_en,
bool  preserve_fp32_precision,
bool  math_approx_mode 
)
inline

Member Function Documentation

◆ construct()

static TensixConfigAttrStorage* mlir::tt::ttkernel::detail::TensixConfigAttrStorage::construct ( ::mlir::AttributeStorageAllocator &  allocator,
KeyTy &&  tblgenKey 
)
inlinestatic

◆ getAsKey()

KeyTy mlir::tt::ttkernel::detail::TensixConfigAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

::llvm::hash_code mlir::tt::ttkernel::detail::TensixConfigAttrStorage::hashKey ( const KeyTy tblgenKey)
inlinestatic

◆ operator==()

bool mlir::tt::ttkernel::detail::TensixConfigAttrStorage::operator== ( const KeyTy tblgenKey) const
inline

Member Data Documentation

◆ fp32_dest_acc_en

bool mlir::tt::ttkernel::detail::TensixConfigAttrStorage::fp32_dest_acc_en

◆ math_approx_mode

bool mlir::tt::ttkernel::detail::TensixConfigAttrStorage::math_approx_mode

◆ math_fidelity

MathFidelity mlir::tt::ttkernel::detail::TensixConfigAttrStorage::math_fidelity

◆ preserve_fp32_precision

bool mlir::tt::ttkernel::detail::TensixConfigAttrStorage::preserve_fp32_precision

The documentation for this struct was generated from the following file: