TT-MLIR
Public Types | Public Member Functions | List of all members
mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::ExternalModel< ConcreteModel, ConcreteAttr > Class Template Reference
Inheritance diagram for mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::ExternalModel< ConcreteModel, ConcreteAttr >:
mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::FallbackModel< ConcreteModel > mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::Concept

Public Types

using ConcreteEntity = ConcreteAttr
 
- Public Types inherited from mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::FallbackModel< ConcreteModel >
using Interface = ::mlir::tt::DeviceLayoutInterface
 

Public Member Functions

llvm::ArrayRef< int64_t > getGridShape (::mlir::Attribute tablegen_opaque_val, MemRefType memrefType) const
 
llvm::ArrayRef< int64_t > getShardShape (::mlir::Attribute tablegen_opaque_val, MemRefType memrefType) const
 
int64_t getShardNumElements (::mlir::Attribute tablegen_opaque_val, MemRefType memrefType) const
 
- Public Member Functions inherited from mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::FallbackModel< ConcreteModel >
 FallbackModel ()
 
- Public Member Functions inherited from mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::Concept
void initializeInterfaceConcept (::mlir::detail::InterfaceMap &interfaceMap)
 

Additional Inherited Members

- Static Public Member Functions inherited from mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::FallbackModel< ConcreteModel >
static llvm::ArrayRef< int64_t > getGridShape (const Concept *impl, ::mlir::Attribute tablegen_opaque_val, MemRefType memrefType)
 
static llvm::ArrayRef< int64_t > getShardShape (const Concept *impl, ::mlir::Attribute tablegen_opaque_val, MemRefType memrefType)
 
static int64_t getShardNumElements (const Concept *impl, ::mlir::Attribute tablegen_opaque_val, MemRefType memrefType)
 
- Public Attributes inherited from mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::Concept
llvm::ArrayRef< int64_t >(* getGridShape )(const Concept *impl, ::mlir::Attribute, MemRefType)
 The methods defined by the interface. More...
 
llvm::ArrayRef< int64_t >(* getShardShape )(const Concept *impl, ::mlir::Attribute, MemRefType)
 
int64_t(* getShardNumElements )(const Concept *impl, ::mlir::Attribute, MemRefType)
 
const ::mlir::MemRefLayoutAttrInterface::Concept * implMemRefLayoutAttrInterface = nullptr
 The base classes of this interface. More...
 

Member Typedef Documentation

◆ ConcreteEntity

template<typename ConcreteModel , typename ConcreteAttr >
using mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::ExternalModel< ConcreteModel, ConcreteAttr >::ConcreteEntity = ConcreteAttr

Member Function Documentation

◆ getGridShape()

template<typename ConcreteModel , typename ConcreteAttr >
llvm::ArrayRef< int64_t > mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::ExternalModel< ConcreteModel, ConcreteAttr >::getGridShape ( ::mlir::Attribute  tablegen_opaque_val,
MemRefType  memrefType 
) const

◆ getShardNumElements()

template<typename ConcreteModel , typename ConcreteAttr >
int64_t mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::ExternalModel< ConcreteModel, ConcreteAttr >::getShardNumElements ( ::mlir::Attribute  tablegen_opaque_val,
MemRefType  memrefType 
) const

◆ getShardShape()

template<typename ConcreteModel , typename ConcreteAttr >
llvm::ArrayRef< int64_t > mlir::tt::detail::DeviceLayoutInterfaceInterfaceTraits::ExternalModel< ConcreteModel, ConcreteAttr >::getShardShape ( ::mlir::Attribute  tablegen_opaque_val,
MemRefType  memrefType 
) const

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