Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public
Document Table of Contents

Automatically Getting Performance Benefits with Intel(R) IPP Threading Layer

If you already have an application that uses Intel® IPP Single-Threaded libraries, you can easily get performance benefits using the IPP Threading Layer (OpenMP* or TBB* version) without modifying your source code.

To enable IPP Threading Layer support in your application:

  1. Enable the preprocessor option IPP_ENABLED_THREADING_LAYER_REDEFINITIONS.

  2. Add Threading Layer libraries and dependencies (TBB* or OpenMP* library) into the link line. For details about Threading Layer libraries linking and location, refer to Linking Options

  3. Rebuild the application.

As a result, IPP APIs used in your application are redefined with IPP Threading Layer APIs when implemented and you receive performance benefits from external threading used in the IPP Threading Layer.