Namespaces
Variants
Views
Actions

Extensions for parallelism

From cppreference.com
< cpp‎ | experimental
Revision as of 15:45, 28 July 2015 by T. Canens (Talk | contribs)

 
 
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
 
 

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

Contents

Execution policies

sequential execution policy
(class)
parallel execution policy
(class)
parallel/vector execution policy
(class)
dynamic execution policy
(class)
test whether a class represents an execution policy
(class template)

Exception lists

exceptions raised during parallel executions
(class)

Parallelized versions of existing algorithms

Provides parallelized versions of 69 algorithms from <algorithm>, <numeric> and <memory>:

New algorithms

Defined in header <experimental/algorithm>
similar to std::for_each except returns void
(function template)
applies a function object to the first n elements of a sequence
(function template)
Defined in header <experimental/numeric>
similar to std::accumulate, except out of order
(function template)
similar to std::partial_sum, excludes the ith input element from the ith sum
(function template)
similar to std::partial_sum, includes the ith input element in the ith sum
(function template)
applies a functor, then reduces
(function template)
applies a functor, then calculates exclusive scan
(function template)
applies a functor, then calculates inclusive scan
(function template)