Note: This sample is intentionally broken for training purposes.
Note: Due to the extremely hardware-dependent nature of the Intel® Advisor Roofline feature, we make no guarantees that the code provided will behave as predicted on your machine. This code is not being updated, as it is intended to match the provided pre-collected results, which have been generated on a machine known to behave as shown in the media using this sample. Please use the provided results when following the tutorials to guarantee the intended behavior.
|License:||Intel Sample Source Code License Agreement|
|OS:||N/A (Results collected on Microsoft* Windows* 10)|
|Hardware:||N/A (Results collected on Intel® Core™ i5-6300U CPU)|
(Programming Language, tool, IDE, Framework)
|C++, Intel® Advisor|
|Prerequisites:||Requires Intel® Advisor 2017 Update 2 or later. Source code intended for use with Intel® C++ Compiler version 17.0 and requires an Intel® processor with AVX2 instruction set support.|
This sample, used in the Intel® Advisor Roofline walkthrough video and tutorial, is intended to demonstrate how to use the Intel® Advisor automated Roofline chart to visualize actual performance against hardware-imposed performance ceilings, as well as determine the main limiting factor (memory bandwidth or compute capacity), thereby providing an ideal roadmap of potential optimization steps. Each loop has multiple versions, each with successive optimizations made, so that optimized and unoptimized loops exist side-by-side, allowing them to appear together on the Roofline chart without the use of result comparisons.
Product and Performance Information
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.