[Mlir-commits] [mlir] [mlir][docs] Fix broken docs (PR #82308)
Kohei Yamaguchi
llvmlistbot at llvm.org
Mon Feb 19 22:43:01 PST 2024
https://github.com/sott0n created https://github.com/llvm/llvm-project/pull/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
>From c9c7ada55b6580636742862f185b11f214a1f4e7 Mon Sep 17 00:00:00 2001
From: Kohei Yamaguchi <fix7211 at gmail.com>
Date: Tue, 20 Feb 2024 15:26:20 +0900
Subject: [PATCH] [mlir][docs] Fix broken docs
---
mlir/docs/Dialects/OpenACCDialect.md | 5 +++--
mlir/docs/Passes.md | 4 ++++
mlir/docs/Tutorials/transform/Ch4.md | 4 ++++
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/mlir/docs/Dialects/OpenACCDialect.md b/mlir/docs/Dialects/OpenACCDialect.md
index ce0f1c3bbbba82..2f1bb194a167d4 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 ee7d47cc022723..84e6664436d7b3 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 ad5221c6f6ccaf..c3159eb991d1e9 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"]
+
More information about the Mlir-commits
mailing list