TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttnn::AllReduceOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttnn::AllReduceOpAdaptor:
mlir::tt::ttnn::AllReduceOpGenericAdaptor< RangeT > mlir::tt::ttnn::detail::AllReduceOpGenericAdaptorBase

Public Member Functions

 AllReduceOpAdaptor (AllReduceOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 AllReduceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 AllReduceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 AllReduceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = AllReduceOp, typename = std::enable_if_t<std::is_same_v<LateInst, AllReduceOp>>>
 AllReduceOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::AllReduceOpGenericAdaptor< RangeT >
 AllReduceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 AllReduceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 AllReduceOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = AllReduceOp, typename = std::enable_if_t<std::is_same_v<LateInst, AllReduceOp>>>
 AllReduceOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getDevice ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::AllReduceOpGenericAdaptorBase
 AllReduceOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 AllReduceOpGenericAdaptorBase (AllReduceOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::IntegerAttr getScatterDimAttr ()
 
int32_t getScatterDim ()
 
::mlir::IntegerAttr getScatterNumAttr ()
 
int32_t getScatterNum ()
 
::mlir::tt::ReduceTypeAttr getMathOpAttr ()
 
::mlir::tt::ReduceType getMathOp ()
 
::mlir::IntegerAttr getNumLinksAttr ()
 
int32_t getNumLinks ()
 

Additional Inherited Members

- Protected Attributes inherited from mlir::tt::ttnn::detail::AllReduceOpGenericAdaptorBase
::mlir::DictionaryAttr odsAttrs
 
::std::optional<::mlir::OperationName > odsOpName
 
Properties properties
 
::mlir::RegionRange odsRegions
 

Constructor & Destructor Documentation

◆ AllReduceOpAdaptor()

mlir::tt::ttnn::AllReduceOpAdaptor::AllReduceOpAdaptor ( AllReduceOp  op)

Member Function Documentation

◆ AllReduceOpGenericAdaptor() [1/4]

◆ AllReduceOpGenericAdaptor() [2/4]

◆ AllReduceOpGenericAdaptor() [3/4]

◆ AllReduceOpGenericAdaptor() [4/4]

template<typename LateInst = AllReduceOp, typename = std::enable_if_t<std::is_same_v<LateInst, AllReduceOp>>>
mlir::tt::ttnn::AllReduceOpGenericAdaptor< RangeT >::AllReduceOpGenericAdaptor ( typename LateInst  = AllReduceOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, AllReduceOp>> 
)
inline

◆ verify()

llvm::LogicalResult mlir::tt::ttnn::AllReduceOpAdaptor::verify ( ::mlir::Location  loc)

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