If you work in Visual Studio* IDE, open the project.
If you build the code in Visual Studio*, make sure to:
Get Software Tools
You need the following tools to try tutorial steps yourself using the
matrix sample application:
VTune Amplifier, including sample applications
zipfile extraction utility
Supported compiler (see Release Notes for more information). For this tutorial, Intel® C++ compiler is used to build the application.
Acquire Intel VTune Amplifier
If you do not already have access to the VTune Amplifier, you can download an evaluation copy from http://software.intel.com/en-us/articles/intel-software-evaluation-center/.
This document focuses on using the VTune™ Amplifier in Intel® Parallel Studio XE Professional Edition. You may see minor differences if you installed a different Intel product. For more information on product capabilities in your installed product, see the product-specific supplemental documentation in
Install and Set Up VTune Amplifier Sample Applications
matrix_vtune_amp_xe.zipfile from the
<install_dir>\samples\<locale>\C++\directory to a writable directory or share on your system.
The default installation path for the VTune Amplifier XE is
[Program Files]\IntelSWTools\VTune Amplifier XE <version>. For the VTune Amplifier for Systems, the default
[Program Files]\IntelSWTools\system_studio_<version>\VTune Amplifier for Systems.
Extract the sample from the
Open a Project in Visual Studio* IDE
The steps below are provided for Microsoft Visual Studio* 2013. Steps for other versions of Visual Studio IDE may differ slightly.
If you work in the Microsoft Visual Studio* IDE, open the sample project as follows:
The solution is added to Visual Studio and shows up in the Solution Explorer. VTune Amplifier automatically inherits Visual Studio settings and uses the currently opened project as a target project for performance analysis.
When you choose a project in Visual Studio IDE, the VTune Amplifier automatically creates the
config.amplxeproj project file and sets the
matrix application as an analysis target in the project properties.
Configure the Microsoft* Symbol Server
Configure the Visual Studio environment to download the debug information for system libraries so that the VTune Amplifier can properly identify system functions and classify/attribute functions.
Verify Optimal Compiler/Linker Options
Configure Visual Studio project properties to generate the debug information for your application so that the VTune Amplifier can open the source code.
Build the Target in the Release Mode
Build the target in the Release mode with full optimizations, which is recommended for the performance analysis.
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.
Notice revision #20110804