pSTL Support - pSTL Support - 57222

AOCC User Guide

Document_ID
57222
Release_Date
2026-05-12
Revision
5.2 English

Prerequisite

IntelĀ® Threading Building Blocks (TBB) library is essential for pSTL support. If the TBB package is not installed, the compiler switches to serial implementation of STL even when the pSTL functions are used.

AOCC supports Standard Template Library (STL) parallel algorithms for C++. For example:
clang++ -O3 -pthread -std=c++17 -ltbb pstl1.cpp