From 048cfc1ca1b6a926b097aa3c091c10eea4ca5cf4 Mon Sep 17 00:00:00 2001 From: "Oleksandr \"Alex\" Zinenko" Date: Fri, 14 Oct 2022 10:30:34 +0200 Subject: [PATCH] [mlir] add missing markdown delimiters in SCFOps.td --- mlir/include/mlir/Dialect/SCF/IR/SCFOps.td | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td index be7dd8e..41b7099 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 { @@ -464,6 +469,7 @@ def ForeachThreadOp : SCF_Op<"foreach_thread", [ "some_use"(%t0) "some_use"(%t1) } + ``` }]; let arguments = (ins Variadic:$num_threads, Variadic:$outputs, -- 2.7.4