MLIR  19.0.0git
Namespaces | Typedefs | Functions
Transforms.h File Reference
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::async
 

Typedefs

using mlir::async::AsyncMinTaskSizeComputationFunction = std::function< Value(ImplicitLocOpBuilder, scf::ParallelOp)>
 Emit the IR to compute the minimum number of iterations of scf.parallel body that would be viable for a single parallel task. More...
 

Functions

void mlir::async::populateAsyncParallelForPatterns (RewritePatternSet &patterns, bool asyncDispatch, int32_t numWorkerThreads, const AsyncMinTaskSizeComputationFunction &computeMinTaskSize)
 Add a pattern to the given pattern list to lower scf.parallel to async operations. More...