First, in the ubuntu system, I used “sudo ncu --set roofline -o g1_3_2 --target-processes all ./g1_32” to generate a “g1_3_2. ncu rep” file, and then I used
“ncu ui ./g1_3_2. ncu rep” to open this file, but only the assembly language is displayed in the source, not my source code.
You need to compile the CUDA source file with the nvcc -lineinfo option.
thank you!
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Cannot see source of some kernels | 2 | 1952 | November 15, 2021 | |
| How to see PTX/CU/source code? | 4 | 3177 | July 16, 2022 | |
| Source code not available in ncu-ui | 4 | 1881 | February 21, 2022 | |
| Python Source file not displayed - only SASS view | 10 | 384 | January 10, 2025 | |
| how to embed source code information with nsight compute cli | 2 | 4108 | May 6, 2019 | |
| How to set lineinfo in compile? | 1 | 804 | July 1, 2021 | |
| Nsight in Visual Studio does not display Cuda Source View in Profiler | 3 | 1044 | December 13, 2018 | |
| "For loop" not having SASS code | 2 | 658 | May 30, 2023 | |
| Unable to observe CUDA-C files in Nsight Compute | 1 | 616 | January 30, 2020 | |
| Nsight Compute: no -lineinfo from cmake cuda_compile_ptx | 3 | 889 | March 2, 2021 |
