The Nsight Compute Profile Kernel cannot locate the source code, only assembly

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!