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

Public Types

using KeyTy = std::tuple<::mlir::tt::GridAttr, AffineMap, AffineMap, ::llvm::ArrayRef< int64_t >, ::llvm::ArrayRef< unsigned > >
 

Public Member Functions

 DeviceAttrStorage (::mlir::tt::GridAttr workerGrid, AffineMap l1Map, AffineMap dramMap, ::llvm::ArrayRef< int64_t > meshShape, ::llvm::ArrayRef< unsigned > chipIds)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

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

Public Attributes

::mlir::tt::GridAttr workerGrid
 
AffineMap l1Map
 
AffineMap dramMap
 
::llvm::ArrayRef< int64_t > meshShape
 
::llvm::ArrayRef< unsigned > chipIds
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::DeviceAttrStorage::KeyTy = std::tuple<::mlir::tt::GridAttr, AffineMap, AffineMap, ::llvm::ArrayRef<int64_t>, ::llvm::ArrayRef<unsigned> >

Constructor & Destructor Documentation

◆ DeviceAttrStorage()

mlir::tt::detail::DeviceAttrStorage::DeviceAttrStorage ( ::mlir::tt::GridAttr  workerGrid,
AffineMap  l1Map,
AffineMap  dramMap,
::llvm::ArrayRef< int64_t >  meshShape,
::llvm::ArrayRef< unsigned >  chipIds 
)
inline

Member Function Documentation

◆ construct()

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

◆ getAsKey()

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

◆ hashKey()

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

◆ operator==()

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

Member Data Documentation

◆ chipIds

::llvm::ArrayRef<unsigned> mlir::tt::detail::DeviceAttrStorage::chipIds

◆ dramMap

AffineMap mlir::tt::detail::DeviceAttrStorage::dramMap

◆ l1Map

AffineMap mlir::tt::detail::DeviceAttrStorage::l1Map

◆ meshShape

::llvm::ArrayRef<int64_t> mlir::tt::detail::DeviceAttrStorage::meshShape

◆ workerGrid

::mlir::tt::GridAttr mlir::tt::detail::DeviceAttrStorage::workerGrid

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