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

Public Types

using KeyTy = std::tuple< SymbolRefAttr, CoreRangeAttr, KernelArgsAttr, MathFidelity, bool, bool, ::llvm::ArrayRef< UnpackToDestMode > >
 

Public Member Functions

 ComputeConfigAttrStorage (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)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

SymbolRefAttr kernel_symbol
 
CoreRangeAttr core_range
 
KernelArgsAttr kernel_args
 
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

◆ ComputeConfigAttrStorage()

mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::ComputeConfigAttrStorage ( 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 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

KeyTy mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

::llvm::hash_code mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::hashKey ( const KeyTy tblgenKey)
inlinestatic

◆ operator==()

bool mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::operator== ( const KeyTy tblgenKey) const
inline

Member Data Documentation

◆ core_range

CoreRangeAttr mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::core_range

◆ fp32_dest_acc_en

bool mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::fp32_dest_acc_en

◆ kernel_args

KernelArgsAttr mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::kernel_args

◆ kernel_symbol

SymbolRefAttr mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::kernel_symbol

◆ math_approx_mode

bool mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::math_approx_mode

◆ math_fidelity

MathFidelity mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::math_fidelity

◆ unpack_to_dest_mode

::llvm::ArrayRef<UnpackToDestMode> mlir::tt::ttmetal::detail::ComputeConfigAttrStorage::unpack_to_dest_mode

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