Changes

Jump to: navigation, search

GPU621 Team 1

932 bytes added, 12:33, 1 December 2016
Getting Started
== Getting Started ==
When using VTune Amplifier the following page will shows <br />
[[File:Tim getstart 1.png|200px]]
<br />
First you need create a project.A project will have can save more than one Analysis. Therefore, you can compare the different analysis and this helps you to compare the code you change.
[[File:Tim getstart 2.png|200px]]
<br />
After the project is created. You need to it will automatically start a Analysis. You need to locate your program and setup the parameters as well. You need need to change the working directory if the default one is not correct.
[[File:Tim getstart 3.png|200px]]<br />In this tab you can choose any Analysis type and run the analysis. In the following turtoral we did not use the VTune Amplifier program. We use the Visual Studio with the VTune Amplifier. This way it will set up the program location, parameters and working directory for you automatically.<br /><br />
== VTune Tutorial 1: Finding HotSpot ==
[[File:Tim hotspot 15.PNG|150px]] [[File:Tim hotspot 13.PNG|400px]] [[File:Tim hotspot 14.PNG|500px]]
This is the code we change. <br />- First we change to header to allow Cilk Plus. <br />- Second we comment the bad slow method from "initialize_2D_buffer" and use the faster method. <br />
- Third we add some Cilk Plus code to make it the program run in parallel.
<br />
If we go to bottom up tab you can see that the "initialize_2D_buffer" is no longer exist and it shows the Cilk worker graph that shows the program is not run a parallel.
<br /><br />
== VTune Tutorial 2: Locks and Wait Tutorial ==

Navigation menu