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

Public Types

using KeyTy = std::tuple<::llvm::ArrayRef< int64_t >, ::llvm::ArrayRef< int64_t >, DenseIntElementsAttr, OOBVal, MemorySpace >
 

Public Member Functions

 MetalLayoutAttrStorage (::llvm::ArrayRef< int64_t > logical_shape, ::llvm::ArrayRef< int64_t > dim_alignments, DenseIntElementsAttr collapsed_intervals, OOBVal oob_val, MemorySpace memory_space)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

::llvm::ArrayRef< int64_t > logical_shape
 
::llvm::ArrayRef< int64_t > dim_alignments
 
DenseIntElementsAttr collapsed_intervals
 
OOBVal oob_val
 
MemorySpace memory_space
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::MetalLayoutAttrStorage::KeyTy = std::tuple<::llvm::ArrayRef<int64_t>, ::llvm::ArrayRef<int64_t>, DenseIntElementsAttr, OOBVal, MemorySpace>

Constructor & Destructor Documentation

◆ MetalLayoutAttrStorage()

mlir::tt::detail::MetalLayoutAttrStorage::MetalLayoutAttrStorage ( ::llvm::ArrayRef< int64_t >  logical_shape,
::llvm::ArrayRef< int64_t >  dim_alignments,
DenseIntElementsAttr  collapsed_intervals,
OOBVal  oob_val,
MemorySpace  memory_space 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

KeyTy mlir::tt::detail::MetalLayoutAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ collapsed_intervals

DenseIntElementsAttr mlir::tt::detail::MetalLayoutAttrStorage::collapsed_intervals

◆ dim_alignments

::llvm::ArrayRef<int64_t> mlir::tt::detail::MetalLayoutAttrStorage::dim_alignments

◆ logical_shape

::llvm::ArrayRef<int64_t> mlir::tt::detail::MetalLayoutAttrStorage::logical_shape

◆ memory_space

MemorySpace mlir::tt::detail::MetalLayoutAttrStorage::memory_space

◆ oob_val

OOBVal mlir::tt::detail::MetalLayoutAttrStorage::oob_val

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