This revision adds scf.foreach_thread and other supporting abstractions
that allow connecting parallel abstractions and tensors.
Discussion is available here.
Paths
| Differential D126555
[mlir][SCF] Add parallel abstraction on tensors. ClosedPublic Authored by nicolasvasilache on May 27 2022, 9:22 AM.
Details
Summary This revision adds scf.foreach_thread and other supporting abstractions Discussion is available here.
Diff Detail
Event Timelineftynse added inline comments.
This revision now requires changes to proceed.May 30 2022, 1:48 AM nicolasvasilache added inline comments.
This revision is now accepted and ready to land.May 30 2022, 8:41 AM Closed by commit rG59b273a166b9: [mlir][SCF] Add parallel abstraction on tensors. (authored by nicolasvasilache). · Explain WhyJun 1 2022, 2:16 AM This revision was automatically updated to reflect the committed changes. christopherbate added inline comments.
Revision Contents
Diff 432849 mlir/include/mlir/Dialect/SCF/SCF.h
mlir/include/mlir/Dialect/SCF/SCFOps.td
mlir/lib/Dialect/SCF/SCF.cpp
mlir/test/Dialect/SCF/invalid.mlir
mlir/test/Dialect/SCF/ops.mlir
|
Nit: "function" is confusing here since the body is not isolated from above as a function would be and only has one block while the function would have a CFG.