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, ::llvm::ArrayRef< UnpackToDestMode > >
 

Public Member Functions

 TensixConfigAttrStorage (MathFidelity math_fidelity, bool fp32_dest_acc_en, bool math_approx_mode, ::llvm::ArrayRef< UnpackToDestMode > unpack_to_dest_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 math_approx_mode
 
::llvm::ArrayRef< UnpackToDestModeunpack_to_dest_mode
 

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ TensixConfigAttrStorage()

mlir::tt::ttkernel::detail::TensixConfigAttrStorage::TensixConfigAttrStorage ( MathFidelity  math_fidelity,
bool  fp32_dest_acc_en,
bool  math_approx_mode,
::llvm::ArrayRef< UnpackToDestMode unpack_to_dest_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

◆ unpack_to_dest_mode

::llvm::ArrayRef<UnpackToDestMode> mlir::tt::ttkernel::detail::TensixConfigAttrStorage::unpack_to_dest_mode

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