Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5253 讨论

Using VTune Profiler with Visual Studio 2019

shekhar__gaurav
初学者
14,211 次查看

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.

0 项奖励
26 回复数
JananiC_Intel
主持人
2,296 次查看

Hi,

Does profiling of matrix application works when it is run as admin?

0 项奖励
shekhar__gaurav
初学者
2,296 次查看

Hi,

No, that gives the same error even when running as admin. Please help.

0 项奖励
JananiC_Intel
主持人
2,296 次查看

Hi,

We could understand your concern.We are forwarding this case to SME.

Thanks.

0 项奖励
shekhar__gaurav
初学者
2,296 次查看

Hi,

Thanks for helping.

 

0 项奖励
Jennifer_D_Intel
主持人
2,232 次查看

I apologize for the delay in response on this. If you are able to try the latest beta version, there may be a fix.

I am a little unclear as to how you are running VTune. Are you running from within Visual Studio? The screenshots appear to be from the standalone version. You also mention adding the application name and parameters. If you run from the Visual Studio toolbar (select "Configure Analysis..." from the side-ways triangle option), you can automatically import the VS project settings. I realize the documentation doesn't mention this step.


The sep driver appears to be installed just fine. But it seems that it's having trouble with the instrumentation (PIN), usually due to trying to instrument a privileged binary. It is odd that you get the error with the matrix sample.




0 项奖励
Jennifer_D_Intel
主持人
2,137 次查看

Are you seeing this issue in the latest oneAPI version of VTune? It's still difficult to say what the problem might be. It could be an antivirus interfering with collection, or a permission issue within Visual Studio.


0 项奖励
回复