diff options
author | Guray Ozen <guray.ozen@gmail.com> | 2025-02-17 12:09:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-17 12:09:27 +0100 |
commit | 837b89fc0fc6d0ae7f68e835789ee62580314dcc (patch) | |
tree | 990c4b14dd3bf06b58abb1b1a28cbc3202e5b694 /llvm/docs/tutorial | |
parent | 02c44ce6c6b2ec595e863a2cc8eacbe11c579d7c (diff) | |
download | llvm-837b89fc0fc6d0ae7f68e835789ee62580314dcc.zip llvm-837b89fc0fc6d0ae7f68e835789ee62580314dcc.tar.gz llvm-837b89fc0fc6d0ae7f68e835789ee62580314dcc.tar.bz2 |
[MLIR][NVVM] Add `ptxas-cmd-options` to pass flags to the downstream compiler (#127457)
This PR adds `cmd-options` to the `gpu-lower-to-nvvm-pipeline` pipeline
and the `nvvm-attach-target` pass, allowing users to pass flags to the
downstream compiler, *ptxas*.
Example:
```
mlir-opt -gpu-lower-to-nvvm-pipeline="cubin-chip=sm_80 ptxas-cmd-options='-v --register-usage-level=8'"
```
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions