|
MLIR 22.0.0git
|
Apply transformation to split the single linalg op reduction into a parallel and reduction dimension. More...
#include "mlir/Dialect/Linalg/Transforms/Transforms.h"
Public Attributes | |
| Operation * | initOrAlloc |
| FillOp | fillOp |
| LinalgOp | splitLinalgOp |
| LinalgOp | resultCombiningLinalgOp |
Apply transformation to split the single linalg op reduction into a parallel and reduction dimension.
Then create a new linalg.generic op doing the rest of the reduction. Return the new linalg op with an extra parallel dimension or failure if the transformation didn't happen.
Example:
To:
Definition at line 1256 of file Transforms.h.
| FillOp mlir::linalg::SplitReductionResult::fillOp |
Definition at line 1258 of file Transforms.h.
| Operation* mlir::linalg::SplitReductionResult::initOrAlloc |
Definition at line 1257 of file Transforms.h.
| LinalgOp mlir::linalg::SplitReductionResult::resultCombiningLinalgOp |
Definition at line 1260 of file Transforms.h.
| LinalgOp mlir::linalg::SplitReductionResult::splitLinalgOp |
Definition at line 1259 of file Transforms.h.