Nvvp ->unguided analysis ->kernel profile (not showing the source code, hotspot and the source code location )

hi everyone
i am not able to see the hotspot and source code along with its path in the kernel profile in the unguided analysis in nvvp
the steps done were

  1. nvcc wrap_number_increased.cu -lineinfo -o wrap_number_increased
  2. nvprof -o wrap_number_increased.nvvp ./wrap_number_increased
  3. nvvp wrap_number_increased.nvvp

The code wrap_number_increased.cu is shown below

#include <cuda.h>
#include <stdio.h>
__global__ void test()
{

int i,j;
   for(i=0;i<10;i++)
        for(j=0;j<100;j++)
                {
//                      printf("Hello gpu\n");

                }

}

int main()
{
printf("Hello from the CPU\n");
test<<<2,32>>>();
cudaError_t err = cudaGetLastError();
if (err != cudaSuccess) {
    printf("CUDA Error: %s\n", cudaGetErrorString(err));
}
printf("next is cudaDeviceSynchronize()\n");
cudaDeviceSynchronize();
return 0;
}

In nvvp GUI at the timeline i have selected the function “test” then-> unguided analysis-> then select the some part of function test timeline → then selected the kernel profile- pc sampling
but it is saying

Unable to create source/assembly view for kernel Profile-PC sampling analysis.
As shown below


can anyone guide me please
Thanks

This is same as Can't see the source code in NVVP. So track there is enough.

Will close this topic after 7 days.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.