Skip to content

Commit 0c13a89

Browse files
authored
[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
1 parent 4725993 commit 0c13a89

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

mlir/docs/Dialects/OpenACCDialect.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ by giving the compiler the freedom of how to parallelize for specific
99
architectures. OpenACC also provides the ability to optimize the
1010
parallelism through increasingly more prescriptive clauses.
1111

12-
This dialect models the constructs from the [OpenACC 3.3 specification]
13-
(https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.3-final.pdf)
12+
This dialect models the constructs from the
13+
[OpenACC 3.3 specification](https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC-3.3-final.pdf)
1414

1515
This document describes the design of the OpenACC dialect in MLIR. It
1616
lists and explains design goals and design choices along with their
@@ -451,3 +451,4 @@ dominates another.
451451
## Operations TOC
452452

453453
[include "Dialects/OpenACCDialectOps.md"]
454+

mlir/docs/Passes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ This document describes the available MLIR passes and their contracts.
1616

1717
[include "ConversionPasses.md"]
1818

19+
## 'acc' Dialect Passes
20+
21+
[include "OpenACCPasses.md"]
22+
1923
## 'affine' Dialect Passes
2024

2125
[include "AffinePasses.md"]

mlir/docs/Tutorials/transform/Ch4.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,3 +579,7 @@ accessed dimensions as other parameters that can be compared with each other to
579579
ensure the subscripts are `m,k` for LHS, `k,n` for RHS and `m,n` for the
580580
init/result given the `m,n,k` notation for loops.
581581

582+
## Appendix: Autogenerated Documentation
583+
584+
[include "Tutorials/transform/MyExtensionCh4.md"]
585+

0 commit comments

Comments
 (0)