Just new in CUDA, so excuse any mistakes or misunderstandings.
I am trying to profile a simple C++ program from the book “Learn CUDA Programming” in chapter2 you can find in the link below.
Running the Visual Profiler, in the “Overall GPU usage” tab, I get “No GPU devices in Session”, which means I far as I can understand that no GPU’s were used.
My laptop Asus has two video cards. One integrated (Intel) and another one, Nvidia GTX 960M.
I suspected that the visual profiler is using the integrated video card, so I changed the default video card for this specific application, under the “Nvidia Control Panel” and “Manager 3d Settings->Program Settings” to use the “High-Performance NVidia Processor”.
Nothing changed. Also, I noticed that the Nvidia display icon in the notification area is not reporting any applications that are using the video card.
What seems to be the problem here? How can I enable also the Nvidia GPU for both Visual Profiler and the command line nvprof.exe application?
PS: I installed CUDA Version 11
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Thu_Jun_11_22:26:48_Pacific_Daylight_Time_2020 Cuda compilation tools, release 11.0, V11.0.194 Build cuda_11.0_bu.relgpu_drvr445TC445_37.28540450_0