[Mlir-commits] [mlir] [mlir][gpu] Fix typo in documentation (PR #156619)
Chao Shi
llvmlistbot at llvm.org
Thu Oct 9 17:53:37 PDT 2025
https://github.com/stepinto updated https://github.com/llvm/llvm-project/pull/156619
>From 32dedd609bfe45b7e490e8c238d9b443489f4189 Mon Sep 17 00:00:00 2001
From: Chao Shi <stepinto at live.com>
Date: Wed, 3 Sep 2025 16:35:30 +0800
Subject: [PATCH] [mlir][gpu] Fix typo in documentation
---
mlir/docs/Dialects/GPU.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mlir/docs/Dialects/GPU.md b/mlir/docs/Dialects/GPU.md
index 8d4d2ca3e5743..511e4ef03ed60 100644
--- a/mlir/docs/Dialects/GPU.md
+++ b/mlir/docs/Dialects/GPU.md
@@ -121,7 +121,7 @@ func.func @main() {
gpu.launch
blocks(%0, %1, %2) in (%3 = %c1, %4 = %c1, %5 = %c1)
threads(%6, %7, %8) in (%9 = %c2, %10 = %c1, %11 = %c1) {
- gpu.printf "Hello from %d\n" %6 : index
+ gpu.printf "Hello from %d\n", %6 : index
gpu.terminator
}
return
@@ -135,7 +135,7 @@ execution using `mlir-runner`. Alternatively, it can be translated into
LLVM, expanding its utility within the system.
```
-mlir-opt example.mlir -gpu-lower-to-nvvm-pipeline = "cubin-chip=sm_90a cubin-features=+ptx80 opt-level=3"
+mlir-opt example.mlir -gpu-lower-to-nvvm-pipeline="cubin-chip=sm_90a cubin-features=+ptx80 opt-level=3"
```
### Module serialization
More information about the Mlir-commits
mailing list