I was trying to visualize the struct of a graph. The code I’m using is:
However, whenever I run the command nv-nsight-cu-cli ./simpleCudaGraphs it just says “==PROF== No kernels were profiled”. When I use nvprof it will yield output for kernel execution time. How do I use nsight compute to profile the code? When I use GUI it will throw error “Connection error detected communicating with target application” when I just let it run. The profile option in the GUI is also confusing to use. I can’t select a file to open because it doesn’t exist or it will automatically add the file file extension at the end. I find the official documentation completely useless to solve this problem. How do I use the nsight compute properly? Thanks!
System: Ubuntu 18.04.2 LTS
GPU: 4xTesla P100
nvcc version: 10.1