MLIR
20.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 1028 of file Transforms.h.
FillOp mlir::linalg::SplitReductionResult::fillOp |
Definition at line 1030 of file Transforms.h.
Operation* mlir::linalg::SplitReductionResult::initOrAlloc |
Definition at line 1029 of file Transforms.h.
LinalgOp mlir::linalg::SplitReductionResult::resultCombiningLinalgOp |
Definition at line 1032 of file Transforms.h.
LinalgOp mlir::linalg::SplitReductionResult::splitLinalgOp |
Definition at line 1031 of file Transforms.h.