Another way is to override `tvm_callback_cuda_compile`

```python
def my_cuda_compile(code, target):
     # Code to print or write to file
     return nvcc.compile_cuda(code)

tvm.register_func("tvm_callback_cuda_compile", my_cuda_compile, override=True)
```





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/inquiry-about-obtaining-ptx-assembly-code-from-tvm/15510/3)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/b93980fc41275f8ec310635a5ba76db88c21a2a710e2677c624011e25c31654a).

Reply via email to