TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttir::detail::TTIROpTrait< ConcreteOp > Struct Template Reference
Inheritance diagram for mlir::tt::ttir::detail::TTIROpTrait< ConcreteOp >:
mlir::tt::ttir::TTIROp::Trait< ConcreteOp >

Public Member Functions

::mlir::tt::SystemDescAttr getSystemDesc ()
 Get the device of the current scope. More...
 
::mlir::tt::DeviceAttr getDevice ()
 Get the device of the current scope. More...
 
bool supportsCPUExecution ()
 Return whether op can be run on CPU. More...
 
bool supportsOnlyCPUExecution ()
 Return whether op must be run on CPU. More...
 

Member Function Documentation

◆ getDevice()

template<typename ConcreteOp >
::mlir::tt::DeviceAttr mlir::tt::ttir::detail::TTIROpTrait< ConcreteOp >::getDevice ( )
inline

Get the device of the current scope.

◆ getSystemDesc()

template<typename ConcreteOp >
::mlir::tt::SystemDescAttr mlir::tt::ttir::detail::TTIROpTrait< ConcreteOp >::getSystemDesc ( )
inline

Get the device of the current scope.

◆ supportsCPUExecution()

template<typename ConcreteOp >
bool mlir::tt::ttir::detail::TTIROpTrait< ConcreteOp >::supportsCPUExecution ( )
inline

Return whether op can be run on CPU.

◆ supportsOnlyCPUExecution()

template<typename ConcreteOp >
bool mlir::tt::ttir::detail::TTIROpTrait< ConcreteOp >::supportsOnlyCPUExecution ( )
inline

Return whether op must be run on CPU.


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