Create Project and Configure Target

To start performance analysis for an application on the Intel® Xeon Phi™ coprocessor, do the following:

  1. Create a VTune Amplifier project.

  2. Specify an analysis target.

  3. Configure search directories for symbol resolution.

Create a VTune Amplifier Project

  1. Type amplxe-gui to launch the VTune Amplifier GUI.

  2. Create a new project via New > Project... menu.

    The Create a Project dialog box opens.

  3. Specify the project name matrix that will be used as the project directory name and click the Create Project button.

    By default, the VTune Amplifier creates a project directory under the %USERPROFILE%\My Documents\Amplifier XE\Projects (for VTune Amplifier XE) or %USERPROFILE%\My Documents\Amplifier for Systems\Projects (for VTune Amplifier for Systems) directory 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.

  1. 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.

  2. Make sure the Launch Application target type is selected in the drop-down menu on the right.

  3. Specify the Intel Xeon Phi coprocessor card where your application is located. By default, 0(mic0) card is pre-selected.

  4. In the Application field, specify a full path to the runmatrix.bat file as an application to launch.

    The runmatrix.bat script runs the matrix.mic application on the coprocessor via the plink command:

    plink -l root -i <path_to_private_key_file> root@<target_system>  /tmp/matrix.mic


    Edit this runmatrix.bat file 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 cpip appropriately.

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.

  1. In the Choose Target and Analysis Type window, click the Binary/Symbol Search button on the right.

    The Binary/Symbol Search dialog box opens.

  2. In the Search Directories field, click the Browse button to add the application directory on the host .

  3. Click OK to save your changes.

Key Terms

Для получения подробной информации о возможностях оптимизации компилятора обратитесь к нашему Уведомлению об оптимизации.