Create a VTune Amplifier Project
By default, the VTune Amplifier creates a project directory under the
%HOMEDRIVE%%HOMEPATH%\Documents\Amplifier XE\Projectsdirectory and opens the Choose Target and Analysis Type window with the Analysis Target tab active.
Specify an Analysis Target
This tutorial focuses on analyzing a native Intel Xeon Phi coprocessor application that is launched on the card with the help of the
runmatrix.bat script. To configure an analysis for a native application started directly on the target coprocessor, make sure to select the Intel Xeon Phi coprocessor (native) type of the target system and specify the application name with the full path on the card in the Application field in the Analysis Target tab. See VTune Amplifier Help for more details.
In the Analysis Target tab, select the Intel Xeon Phi coprocessor (host launch) type from the left pane.
The configuration pane on the right is updated with the options applicable to the selected target system type.
Specify the Intel Xeon Phi coprocessor card where your application is located. By default, 0(mic0) card is pre-selected.
In the Application field, specify a full path to the
runmatrix.batfile as an application to launch.
runmatrix.batscript runs the
matrix.micapplication on the coprocessor via the
plink -l root -i <path_to_private_key_file> root@<target_system> /tmp/matrix.mic
runmatrix.batfile to add a path to the private key file on your system. In case you have multiple cards on your system, you also need to set
Configure Search Directories
When profiling native Intel Xeon Phi coprocessor applications, you are recommended to specify search directories for your binary, source and symbol files located on your host Windows system.
In the Choose Target and Analysis Type window, click the Binary/Symbol Search button on the right.
The Binary/Symbol Search dialog box opens.
In the Search Directories field, click the Browse button to add the application directory on the host .
Click OK to save your changes.