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

Public Types

using KeyTy = std::tuple<::llvm::ArrayRef< int64_t >, uint32_t >
 

Public Member Functions

 ShardLayoutAttrStorage (::llvm::ArrayRef< int64_t > stride, uint32_t buffers)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

::llvm::ArrayRef< int64_t > stride
 
uint32_t buffers
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::ShardLayoutAttrStorage::KeyTy = std::tuple<::llvm::ArrayRef<int64_t>, uint32_t>

Constructor & Destructor Documentation

◆ ShardLayoutAttrStorage()

mlir::tt::detail::ShardLayoutAttrStorage::ShardLayoutAttrStorage ( ::llvm::ArrayRef< int64_t >  stride,
uint32_t  buffers 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ buffers

uint32_t mlir::tt::detail::ShardLayoutAttrStorage::buffers

◆ stride

::llvm::ArrayRef<int64_t> mlir::tt::detail::ShardLayoutAttrStorage::stride

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