<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54325>54325</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
error: ` gpu-to-cubin` does not refer to a registered pass or pass pipeline
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
CONGCONGLEEE
</td>
</tr>
</table>
<pre>
I compiled the example `shuffle.mlir` in [https://github.com/llvm/llvm-project/tree/main/mlir/test/Integration/GPU/CUDA](url), and the commamd is
```
// RUN: mlir-opt %s \
// RUN: -gpu-kernel-outlining \
// RUN: -pass-pipeline='gpu.module(strip-debuginfo,convert-gpu-to-nvvm,gpu-to-cubin)' \
// RUN: -gpu-to-llvm \
```
The error occurs:
`MLIR Textual PassPipeline Parser:1:48: error: 'gpu-to-cubin' does not refer to a registered pass or pass pipeline
gpu.module(strip-debuginfo,convert-gpu-to-nvvm,gpu-to-cubin)`
How can I use the `gpu-to-cubin` pass?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytU9tu2zAM_Rr5hXBgy87twQ9ZelmArguK9gMUm3a0yZKhS9v9_Silzdph2LBhgHWhdUSeQ1IH031rdtCacZIKO_BHBHwW46QQ2KJwx9D3CmejkpZMkBqAzT8cvZ8cqzaMX9E3SH8Mhxn5IEOpx9cln6z5gq0n01tEWkYhdVyiN_qJLp7ttMfBCi9NPLveP9C8fbjYsPkF46tgFeNrxrcg9IkexRnF2IF0rLhgxYZ4vXwnM3GCu4dbIggxVG4mD4zPHVHf_goEkA9TyL-i1ahyE7ySWurhN_BJOJdPckJCIquI6JI8zEbTBUVCV85bOeUdHsIgdW-Ifmv0I1qfAnmT68eYpu2L1YZDTAzJXP6BI4Fjat-g3qu_j_Wz1lgwbRtsKtIr7tPN7g7u8dkHoWBPCvYvAsiwDi1hSxr1KsZLTuLmJO0NyyV0Bh1o48Fijxa8AUHbQTqPlnooJgeIQVrPSUos_kuSzpVO80fzBK3QsIPgMDUIAd5dob6NVFh1lXVN1a2rtci89Aqbs8h4B36-9E86M2rY5q_fh3QuoKPNvK74PDs2fb3oi77o1q2o6q5ad6tKLJec123ZiwWKTIkDKtfQY2Sca3yC5IL29Gwy2fCC86Iqi7IqyeGs7OqWc17Oq7IsuVixukB6jGoWecyMHTLbJEpUC0eHijS6H4ckUA4aMYUj_yL4o7HN9vPtdRw3l5eXWYrfJP7fAalSWsQ">