NVprof works while NSight Compute says No kernels were profiled

GeForce GTX 1650 is a Kepler architecture GPU. This is not supported by
Nsight Compute. Refer the GPU support section in the Nsight Compute release notes.

You will need to use nvprof.