Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5121 Discussions

Intel HD graphics not detected

Kok__Johan
Beginner
1,975 Views

Hi 

I'm trying to profile my OpenCL application on PyOpenCL via Intel VTune profiler. I have Intel HD Graphics 630 installed in my machine. From my understanding, that can serve as a GPU to run my OpenCL computations on. 

I start the profiler via the launch application selection, pointing the profiler to the python script that I am executing. However, in the summary report generated, I noticed that the profiler picks up Nvidia GeForce as the GPU to profile. I have an Nvidia GeForce 1060 graphics card mounted into the system, just that the driver has not yet been installed in the OS. 

I would like to know if it is possible to select the GPU used in the profiling. Attaching a screen shot of the summary page here for debugging. 

Thanks

0 Kudos
5 Replies
Kok__Johan
Beginner
1,975 Views

Screenshot for above ^^

0 Kudos
Kok__Johan
Beginner
1,975 Views

Screenshot for above ^^

0 Kudos
Egor_S_Intel1
Employee
1,975 Views

Hi John,

VTune can collect GPU HW metrics for OpenCL kernels and profile them only if kernels are executed on Intel GPU. So it is not necessary to select the GPU for profiling in VTune. Your code just need to choose the Intel GPU as the target device for OpenCL kernels and it is enough for VTune. Does your application run kernels on Intel GPU?

Thanks.
 

0 Kudos
Kok__Johan
Beginner
1,973 Views

Hi Egor 

Yes the application runs its kernel on Intel HD graphics. So what I'm getting from your post is that the application simply needs to run on HD graphics and VTune will automatically pick it up in its GPU hotspot analysis?

In this case, 2 follow up questions here:

  • Can VTune profile kernels on NVIDIA CUDA?
  • My code has been showing 0% GPU utilization after repeated execution. The python script that I am profiling is configured to select the runtime environment as Intel HD Graphics. Can I get some suggestions as to how I can troubleshoot this issue?

Thanks

0 Kudos
Egor_S_Intel1
Employee
1,973 Views

Hi John,

... the application simply needs to run on HD graphics and VTune will automatically pick it up in its GPU hotspot analysis?

Yes.

Can VTune profile kernels on NVIDIA CUDA?

No, VTune cannot profile CUDA kernels.

My code has been showing 0% GPU utilization after repeated execution. The python script that I am profiling is configured to select the runtime environment as Intel HD Graphics. Can I get some suggestions as to how I can troubleshoot this issue?

Could you please share the result for further investigation?

Thanks

0 Kudos
Reply