Skip to content

Commit 2f6a8a7

Browse files
committed
[MLIR][NVVM] Add operations and interfaces
1 parent e38529d commit 2f6a8a7

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

mlir/docs/Dialects/NVVMDialect.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ NVPTX toolchain. While a NVVM op usually maps to a single LLVM IR intrinsic,
88
the NVVM dialect uses type polymorphism and other attributes so that a single
99
NVVM op can map to different LLVM intrinsics.
1010

11+
[TOC]
12+
1113
## Scope and Capabilities
1214

1315
The dialect covers core GPU features such as thread/block builtins, barriers
@@ -83,5 +85,16 @@ dialects (e.g., `nvgpu`, `gpu`, or project-specific dialects). The design
8385
intent is a thin, predictable, low-level surface with near-mechanical lowering
8486
to NVVM/LLVM IR.
8587

86-
[TOC]
88+
89+
## Operations
90+
91+
All operations in the NVIDIA's instruction set have a custom form in MLIR. The mnemonic
92+
of an operation is that used in LLVM IR prefixed with "`nvvm.`".
93+
94+
[include "Dialects/NVVMOps.md"]
95+
96+
97+
## Op Interfaces
98+
99+
[include "Dialects/NVVMRequiresSMTraits.md"]
87100

0 commit comments

Comments
 (0)