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

Vtune cannot show the function name

hua0x522
Beginner
678 Views

We try to migrate a project from openmp and CUDA to dpc++ on remote Linux.

Firstly, we used a sparse matrix multiplication function to replace the old CUDA kernel. Then we profiled it by Vtune and we can see the function name.

1.PNG

However, we replace a piece of OpenMP code by parallel_for(dpc++), we found we cannot see the function name and there is only library name.

2.PNG

 

Labels (1)
0 Kudos
3 Replies
ShyamS_Intel
Moderator
637 Views

Hi,


Thank you for posting in Intel Communities.


For dpc++ you can use any debug parameters while compiling -gline-tables-only and -fdebug-info-for-profiling , so it will show the information


Please refer the documentation if needed:

https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/debug-info-for-linux-binaries.html


(Or) If program is taking negligible amount of time to run, also cause this kind of issue.


Thanks

Shyam Sundar


0 Kudos
ShyamS_Intel
Moderator
591 Views


Hi,


Could you please provide any updates.


Thanks

Shyam Sundar


0 Kudos
ShyamS_Intel
Moderator
564 Views

Hi,


I assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel. 


Thanks

Shyam Sundar


0 Kudos
Reply