Open main menu

CDOT Wiki β

Changes

GPU621 Team 1

542 bytes added, 17:40, 30 November 2016
VTune Tutorial 1: Finding HotSpot
[[File:Tim Hotspt 7.png|400px]]
We go to the bootom up tab. it will give you a graph that shows the Hotspots table you got. You can clearly see that "initialize_2D_buffer" use a lot the most time compare to the other function.
<br />
[[File:Tim Hotspt 8.png|400px]]
wfawfIf we double click on this function we it will shows the sources code and shows you which line of the code actually use the most time in the specific function. Now we can tell that most of the time are spend on the while loop.
<br />
[[File:Tim Hotspt 9.png|400px]]
wfawfTo compare a paralleled version of this code I already have a program that use CILK PLUS to parallelize that program. Below is the link to download that code. Simply replace the ''find_hotspots.cpp'' with this code, build it and run the Analysis again.  Link:[[File:Find hotspots.zip]]
<br />