mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 17:06:07 +00:00
[MLIR] Update GPU.md: add gpu kernel outlining to doc example. (#83141)
gpu-kernel-outlining is needed for this example to work.
This commit is contained in:
parent
001e18c816
commit
a3748d60ff
@ -50,6 +50,7 @@ An example of how the compilation workflow look is:
|
||||
```
|
||||
mlir-opt example.mlir \
|
||||
--pass-pipeline="builtin.module( \
|
||||
gpu-kernel-outlining, \ # Outline gpu.launch body to a kernel.
|
||||
nvvm-attach-target{chip=sm_90 O=3}, \ # Attach an NVVM target to a gpu.module op.
|
||||
gpu.module(convert-gpu-to-nvvm), \ # Convert GPU to NVVM.
|
||||
gpu-to-llvm, \ # Convert GPU to LLVM.
|
||||
|
Loading…
x
Reference in New Issue
Block a user