Tutorial

  • 12/16/2019
  • Public Content

Tutorial: Threading Your Application Overview

The compiler has the following features which can improve the performance of your serial applications by using parallel processing.
  • OpenMP* is a collection of pragmas, library functions, and environment variables that adds shared-memory parallelism to your application.
  • Intel® Threading Building Blocks (Intel® TBB) provides common parallel algorithm patterns in the form of function templates.
About This Tutorial
This tutorial demonstrates how you can improve the performance of the sample application by building different parallel implementations of the same function using both the Intel compiler and other compilers.
After building the sample code with the different features, running the application displays the execution time required to render the object.
Estimated Duration
10-15 minutes.
Learning Objectives
After you complete this tutorial, you should be able to:
  • Build a serial version and establish a performance baseline
  • Build a version that uses OpenMP* and compare the performance to the serial version
  • Build a version that uses Intel® TBB and compare the performance to the serial version

Product and Performance Information

1

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