When I Start "Configure analysis with VTune profiler" at Visual Studio, there is error popup widow and saying "The code execution cannot proceed becaue sycl.dll was not found.Reinstalling the program may fix the problem."
But I have sycl.dll inside C:\Program Files (x86)\inteloneapi\compiler\2021.1-beta03\windows\bin the folder. So I set the bin folder at system path and relaunch the solution. But still have the same error popup windows.
I copied sycl.dll to the same folder as exe file,but still have the same error popup windows.
So i have tried all different methods, but issue can't solved.
Link Copied
Hi nyan,
Could you please confirm that the solution provided is helped for you.
Hi,
Thanks for reaching out to us.
The issue occurs mainly due to the oneAPI enviroment variables are not set when you launched Vtune profiler explicitly. Could you please try any of the below methods to set the system variables properly.
Method 1)
Launch VTune Profiler from the Start menu. When configuring your application for analysis,you will be able to set the oneAPI environment variables in Advanced option in the Launch Application section. Specify variable name as ONEAPI_ROOT and value as C:\Program Files (x86)\inteloneapi\ (Install directory of oneAPI).
Screenshot is attached for your reference( screenshot_vtune_LI.jpg ).
Method 2)
setvars.bat
vtune-gui
Method 3) When configuring the application, you will be able to get the command for vtune from the gui itself. Copy that command and run it after setting oneAPI environment variables as suggested above.
Screenshot is attached for your reference( screenshot_vtune1_LI.jpg ).
Hope it helps.
Hi nyan,
Could you please confirm that the solution provided is helped for you.
Hi Nyan,
We are closing this case. Please feel free to reach out to us if you have further issues.
For more complete information about compiler optimizations, see our Optimization Notice.