aboutsummaryrefslogtreecommitdiff
path: root/mlir
diff options
context:
space:
mode:
authorKohei Yamaguchi <fix7211@gmail.com>2024-02-21 18:11:22 +0900
committerGitHub <noreply@github.com>2024-02-21 10:11:22 +0100
commit0c13a896dfc930a09e082ad83070e223cfd9a4f9 (patch)
treeaac7587c0f1ffe45a0fb2f10df9a176e6de84ad5 /mlir
parent4725993f1a812c86b9ad79d229a015d0216ff550 (diff)
downloadllvm-0c13a896dfc930a09e082ad83070e223cfd9a4f9.zip
llvm-0c13a896dfc930a09e082ad83070e223cfd9a4f9.tar.gz
llvm-0c13a896dfc930a09e082ad83070e223cfd9a4f9.tar.bz2
[mlir][docs] Fix broken docs (#82308)
- Fixed OpenACC's spec link format - Add missed `OpenACCPasses.md` into Passes.md - Add missed `MyExtensionCh4.md` into Ch4.md of tutorial of transform
Diffstat (limited to 'mlir')
-rwxr-xr-xmlir/docs/Dialects/OpenACCDialect.md5
-rw-r--r--mlir/docs/Passes.md4
-rw-r--r--mlir/docs/Tutorials/transform/Ch4.md4
3 files changed, 11 insertions, 2 deletions
diff --git a/mlir/docs/Dialects/OpenACCDialect.md b/mlir/docs/Dialects/OpenACCDialect.md
index ce0f1c3..2f1bb19 100755
--- a/mlir/docs/Dialects/OpenACCDialect.md
+++ b/mlir/docs/Dialects/OpenACCDialect.md
@@ -9,8 +9,8 @@ by giving the compiler the freedom of how to parallelize for specific
architectures. OpenACC also provides the ability to optimize the
parallelism through increasingly more prescriptive clauses.
-This dialect models the constructs from the [OpenACC 3.3 specification]
-(https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.3-final.pdf)
+This dialect models the constructs from the
+[OpenACC 3.3 specification](https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.3-final.pdf)
This document describes the design of the OpenACC dialect in MLIR. It
lists and explains design goals and design choices along with their
@@ -451,3 +451,4 @@ dominates another.
## Operations TOC
[include "Dialects/OpenACCDialectOps.md"]
+
diff --git a/mlir/docs/Passes.md b/mlir/docs/Passes.md
index ee7d47c..84e6664 100644
--- a/mlir/docs/Passes.md
+++ b/mlir/docs/Passes.md
@@ -16,6 +16,10 @@ This document describes the available MLIR passes and their contracts.
[include "ConversionPasses.md"]
+## 'acc' Dialect Passes
+
+[include "OpenACCPasses.md"]
+
## 'affine' Dialect Passes
[include "AffinePasses.md"]
diff --git a/mlir/docs/Tutorials/transform/Ch4.md b/mlir/docs/Tutorials/transform/Ch4.md
index ad5221c..c3159eb 100644
--- a/mlir/docs/Tutorials/transform/Ch4.md
+++ b/mlir/docs/Tutorials/transform/Ch4.md
@@ -579,3 +579,7 @@ accessed dimensions as other parameters that can be compared with each other to
ensure the subscripts are `m,k` for LHS, `k,n` for RHS and `m,n` for the
init/result given the `m,n,k` notation for loops.
+## Appendix: Autogenerated Documentation
+
+[include "Tutorials/transform/MyExtensionCh4.md"]
+