Intel® Advisor User Guide

ID 766448
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Parallel Frameworks

Before you can add parallel code, you must first choose a parallel framework.

There are two popular mechanisms for using threads - either use high-level parallel frameworks or explicit threading APIs. Intel recommends using parallel frameworks for both ease of use and their ability to optimize for different situations.

For managed code such as C#, use the Microsoft Task Parallel Library* (TPL).

NOTE:
C# and .NET support is deprecated starting Intel® Advisor 2021.1.

This document shows how to use the widely-used parallel frameworks for native code, which are included with Intel® oneAPI Toolkits and may be included with other compilers:

  • Intel® oneAPI Threading Building Block