Namespaces
Variants
Views
Actions

Extensions for parallelism, version 2

From cppreference.com
 
 
Experimental
Technical Specification
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
Experimental Non-TS
Pattern Matching
Linear Algebra
std::execution
Contracts
2D Graphics
 
Extensions for parallelism v2
 

The C++ Extensions for Parallelism Version 2, ISO/IEC TS 19570:2018 defines the following new components for the C++ standard library:

Contents

Parallel exceptions

exceptions raised during parallel executions
(class)

Execution policies

execution policy types
(class)
global execution policy objects
(constant)

Parallel algorithms

Task Block

Data-Parallel Types

(parallelism TS v2)
data-parallel vector type
(class template) [edit]
(parallelism TS v2)
data-parallel type with the element type bool
(class template) [edit]

Feature test macros

Defined in header <experimental/task_block>
__cpp_lib_experimental_parallel_task_block
a value of at least 201711 indicates that the task block functionality is supported
(macro constant)
Defined in header <experimental/execution>
__cpp_lib_experimental_execution_vector_policy
a value of at least 201711 indicates that the vector and wavefront policies are supported
(macro constant)
Defined in header <experimental/algorithm>
__cpp_lib_experimental_parallel_for_loop
a value of at least 201711 indicates that the for_loop class of algorithms is supported
(macro constant)
Defined in header <experimental/simd>
__cpp_lib_experimental_parallel_simd
a value of at least 201803 indicates that the data-parallel types library is supported
(macro constant)