[Mlir-commits] [mlir] 048cfc1 - [mlir] add missing markdown delimiters in SCFOps.td
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Oct 14 01:30:43 PDT 2022
Author: Oleksandr "Alex" Zinenko
Date: 2022-10-14T10:30:34+02:00
New Revision: 048cfc1ca1b6a926b097aa3c091c10eea4ca5cf4
URL: https://github.com/llvm/llvm-project/commit/048cfc1ca1b6a926b097aa3c091c10eea4ca5cf4
DIFF: https://github.com/llvm/llvm-project/commit/048cfc1ca1b6a926b097aa3c091c10eea4ca5cf4.diff
LOG: [mlir] add missing markdown delimiters in SCFOps.td
Added:
Modified:
mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
index be7dd8e3a2544..41b70992ac850 100644
--- a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
+++ b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
@@ -434,6 +434,8 @@ def ForeachThreadOp : SCF_Op<"foreach_thread", [
```
Example with thread_dim_mapping attribute:
+
+ ```mlir
//
// Sequential context.
//
@@ -451,8 +453,11 @@ def ForeachThreadOp : SCF_Op<"foreach_thread", [
// Implicit synchronization point.
// Sequential context.
//
+ ```
Example with privatized tensors:
+
+ ```mlir
%t0 = ...
%t1 = ...
%r = scf.foreach_thread ... shared_outs(%o = t0) -> tensor<?xf32> {
@@ -464,6 +469,7 @@ def ForeachThreadOp : SCF_Op<"foreach_thread", [
"some_use"(%t0)
"some_use"(%t1)
}
+ ```
}];
let arguments = (ins Variadic<Index>:$num_threads,
Variadic<AnyRankedTensor>:$outputs,
More information about the Mlir-commits
mailing list