13 #ifndef MLIR_DIALECT_ASYNC_TRANSFORMS_H_ 14 #define MLIR_DIALECT_ASYNC_TRANSFORMS_H_ 29 std::function<Value(ImplicitLocOpBuilder, scf::ParallelOp)>;
40 #endif // MLIR_DIALECT_ASYNC_TRANSFORMS_H_ Include the generated interface declarations.
std::function< Value(ImplicitLocOpBuilder, scf::ParallelOp)> AsyncMinTaskSizeComputationFunction
Emit the IR to compute the minimum number of iterations of scf.parallel body that would be viable for...
void 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.