Open main menu

CDOT Wiki β

Changes

GPU621/Code

1,493 bytes added, 22:35, 27 November 2018
Intel® Advisor
[[File:Select.png|250px]]
 
==='''How it works'''===
For debugging Thread purpose we will have to run 2 analysis report in Intel Advisor - Threading Workflow pane: Survey Target and Check Dependencies.
 
* Survey Target gives you a report on how the threads are behaving and its run time on different calls so that you can try to improve it.
* Check Dependencies gives you a report on the errors and problems that thread are causing so that you can know where they are and fixing it.
 
First step is to Collect the Survey Target report by clicking "Collect"
 
[[File:Survey.png|250px]]
 
After Collecting the data for the report the following window will appear and there are 3 important things we should pay attention on
 
[[File:Collectsurvey.png|900px]]
 
'''1 -''' Here display the list of the most important functions and loops which took a large part of the total program run time and tells a bit of information about them at the same time giving you some suggestions on how to improve it
 
'''2 -''' In this menu bar there are several options but the most important two are Source and Top Down.
* Source shows the actual code of the selected function call or loop selected from the #1 window
* Top Down shows all the run time of each calls and loop in your program which allows you to go more in detail with each of them
 
[[File:Top_Down.png|700px]]
 
'''3 -''' It is a dropdown list which shows you all the threads runned in this program which it is important for in this case since we are focusing on debugging threads
24
edits