Hi,
I have installed VTune Profiler recently to profile an OpenCL project on VS2019. I need some help with how can I profile my code with VTune.
I could not find anything helpful yet. If I can get some document that discusses the step-by-step procedure starting from the welcome page, it would be very helpful for a newbie like me.
Thanks,
Gaurav.
链接已复制
Hi,
Thank you for reaching out.
Refer the below link to know the step by step procedure.
Hi,
I followed this document for profiling my OpenCL application, but I am unfortunately getting the error as attached.
- I selected my output .exe in Application
- And the relevant parameters in Application Parameters
- In the analysis type, I selected GPU Offload
I see the following error after I click Start.
Gaurav.
Hi,
Thanks for the update.
Try the below code sample for GPU offload.If you get any error ,share the screenshot of it so that we could figure out the exact issue.
https://github.com/intel/BaseKit-code-samples/tree/master/VtuneProfiler/matrix_multiply_vtune
Hi,
Thanks for the update.
This happens when application invokes other processes for which the user does not have read privileges ,so before running GPU offload uncheck the "Analyze child processes" option in the what pane in Vtune GUI.
Let us know if the issue persists.
Hi,
Try running self checker script in vtune installed directory.Self checker script is to validate whether the appropriate drivers are installed and system is set up properly to collect performance data.You can find vtune-self-checker.sh script in <install-dir>/bin64. After running self checker script you will get a log file.
Also try in a standalone version and check whether you get the same error.
Hi,
Try installing the latest version of oneapi basekit for windows(https://dynamicinstaller.intel.com/oneapi/toolkits/base-kit/win/).After installing you will find vtune-self-checker.bat in the path intel/inteloneapi/vtune/bin64 .Run that file and let us know the update.
Hi,
Thanks for the update.
Kindly follow the procedures mentioned in the below link, also run vtune as well as command prompt with run as admin and let us know the updates.
