Skip to content

Commit a3748d6

Browse files
authored
[MLIR] Update GPU.md: add gpu kernel outlining to doc example. (#83141)
gpu-kernel-outlining is needed for this example to work.
1 parent 001e18c commit a3748d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/docs/Dialects/GPU.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ An example of how the compilation workflow look is:
5050
```
5151
mlir-opt example.mlir \
5252
--pass-pipeline="builtin.module( \
53+
gpu-kernel-outlining, \ # Outline gpu.launch body to a kernel.
5354
nvvm-attach-target{chip=sm_90 O=3}, \ # Attach an NVVM target to a gpu.module op.
5455
gpu.module(convert-gpu-to-nvvm), \ # Convert GPU to NVVM.
5556
gpu-to-llvm, \ # Convert GPU to LLVM.

0 commit comments

Comments
 (0)