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

Public Types

using KeyTy = std::tuple< std::optional< MathFidelity >, BoolAttr, BoolAttr, BoolAttr, BoolAttr >
 

Public Member Functions

 DeviceComputeKernelConfigAttrStorage (std::optional< MathFidelity > math_fidelity, BoolAttr math_approx_mode, BoolAttr fp32_dest_acc_en, BoolAttr packer_l1_acc, BoolAttr dst_full_sync_en)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

std::optional< MathFidelitymath_fidelity
 
BoolAttr math_approx_mode
 
BoolAttr fp32_dest_acc_en
 
BoolAttr packer_l1_acc
 
BoolAttr dst_full_sync_en
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::KeyTy = std::tuple<std::optional<MathFidelity>, BoolAttr, BoolAttr, BoolAttr, BoolAttr>

Constructor & Destructor Documentation

◆ DeviceComputeKernelConfigAttrStorage()

mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::DeviceComputeKernelConfigAttrStorage ( std::optional< MathFidelity math_fidelity,
BoolAttr  math_approx_mode,
BoolAttr  fp32_dest_acc_en,
BoolAttr  packer_l1_acc,
BoolAttr  dst_full_sync_en 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

KeyTy mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

::llvm::hash_code mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::hashKey ( const KeyTy tblgenKey)
inlinestatic

◆ operator==()

bool mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::operator== ( const KeyTy tblgenKey) const
inline

Member Data Documentation

◆ dst_full_sync_en

BoolAttr mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::dst_full_sync_en

◆ fp32_dest_acc_en

BoolAttr mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::fp32_dest_acc_en

◆ math_approx_mode

BoolAttr mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::math_approx_mode

◆ math_fidelity

std::optional<MathFidelity> mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::math_fidelity

◆ packer_l1_acc

BoolAttr mlir::tt::ttnn::detail::DeviceComputeKernelConfigAttrStorage::packer_l1_acc

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