MLIR 22.0.0git
Transforms.h File Reference

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::async

Typedefs

using mlir::async::AsyncMinTaskSizeComputationFunction
 Emit the IR to compute the minimum number of iterations of scf.parallel body that would be viable for a single parallel task.

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.