-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mlir][sparse] Calling mlir-opt with sparsifier's dumped pass pipeline for GPU codegen does not emit GPU code #91774
Comments
@llvm/issue-subscribers-mlir-sparse Author: Giorgis Georgakoudis (ggeorgakoudis)
First call `mlir-opt` for the sparsifier to generate GPU code and dump the pass pipeline (I'm omitting the mlir input file, reproducers contain it):
```
mlir-opt --sparsifier="enable-runtime-library=false parallelization-strategy=dense-outer-loop gpu-triple=nvptx64-nvidia-cuda gpu-chip=sm_80 gpu-features=+ptx71 gpu-format=llvm" --dump-pass-pipeline
```
Reproducer: https://godbolt.org/z/7cP8z1qcY
Then use the dumped pipeline directly in
Reproducer: https://godbolt.org/z/1zz64j895 Expected to see to same the same GPU codegen as with callng the sparsifier but output does not contain GPU code |
@llvm/issue-subscribers-mlir-gpu Author: Giorgis Georgakoudis (ggeorgakoudis)
First call `mlir-opt` for the sparsifier to generate GPU code and dump the pass pipeline (I'm omitting the mlir input file, reproducers contain it):
```
mlir-opt --sparsifier="enable-runtime-library=false parallelization-strategy=dense-outer-loop gpu-triple=nvptx64-nvidia-cuda gpu-chip=sm_80 gpu-features=+ptx71 gpu-format=llvm" --dump-pass-pipeline
```
Reproducer: https://godbolt.org/z/7cP8z1qcY
Then use the dumped pipeline directly in
Reproducer: https://godbolt.org/z/1zz64j895 Expected to see to same the same GPU codegen as with callng the sparsifier but output does not contain GPU code |
First call
mlir-opt
for the sparsifier to generate GPU code and dump the pass pipeline (I'm omitting the mlir input file, reproducers contain it):Reproducer: https://godbolt.org/z/7cP8z1qcY
Then use the dumped pipeline directly in
mlir-opt
:Reproducer: https://godbolt.org/z/1zz64j895
Expected to see to same the same GPU codegen as with callng the sparsifier but output does not contain GPU code
The text was updated successfully, but these errors were encountered: