Quantcast
Channel: C#
Viewing all articles
Browse latest Browse all 1853

Configuring an Analysis Type for Intel® Xeon Phi™ Coprocessor

$
0
0

On Intel® Xeon Phi™ coprocessors (code name: Knights Corner), the VTune Amplifier provides the Hotspots, General Exploration, and Memory Bandwidth analysis types predefined, and an option to create custom analysis types with an arbitrary set of hardware events.

To enable performance analysis for offload applications:

Before starting an offload application with the VTune Amplifier, make sure to set the environment variable AMPLXE_COI_DEBUG_SUPPORT=TRUE. By default, it is set as FALSE to reduce the overhead of running offload applications.

Note

The AMPLXE_COI_DEBUG_SUPPORT environment variable is used for Intel Manycore Platform Software Stack (Intel MPSS) 3.1 and higher.

To choose and configure an analysis on Intel Xeon Phi coprocessor:

  1. Click the New Analysis button on the VTune Amplifier toolbar.

    The New Amplifier Result tab opens with the Analysis Type window active.

  2. In the Analysis Type window, select the Knights Corner Platform Analysis and select the required analysis type from the left pane.

    The corresponding configuration pane opens on the right.

  3. Specify a comma-separated list of Intel Xeon Phi coprocessor cards. By default, the data is collected on card 0.
  4. Click the Start button on the right to start the analysis.

    VTune Amplifier collects samples for a list of events predefined in the analysis configuration. You may change this list by creating a new custom configuration: New Knights Corner Hardware Event-based Sampling Analysis.

    The number of hardware events that can be collected simultaneously is limited by CPU capabilities. It is no more than two events on an Intel Xeon Phi coprocessor card. To overcome this limitation, the VTune Amplifier splits the event list into several event groups. Each group consists of events that can be collected simultaneously. VTune Amplifier uses one of the following techniques:

    • Runs an application only once and multiplexes the event groups in a round-robin fashion during the run (default mode). This mode is supported with Intel Manycore Platform Software Stack 2.2 Alpha 2 and later.

    • Runs an application several times collecting one event group during each run to achieve more precise results. To enable this mode in the GUI, set the Allow multiple runs option in the Advanced section of Project Properties dialog box.

    Note

    In this version of the product, the Allow multiple runs option is not available for the system-wide collection. So, you should manually distribute events by multiple runs if you do not want to use the event multiplexing mode.

See Also


Supplemental documentation specific to a particular Intel Studio may be available at <install-dir>\<studio>\documentation\ .

Inglese

Viewing all articles
Browse latest Browse all 1853

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>