Open main menu

CDOT Wiki β

Changes

Team Hortons

8 bytes added, 18:09, 29 October 2017
no edit summary
C++17, introduces a feature called Execution Policies, which can be used to specify what kind of execution is is desired for the algorithm. There are three possible execution policies:
- **'''std::execution::seq** ''' - Sequential execution (no parallelism)- **'''std::execution::par** ''' - Parallel execution (multiple threads)- **'''std::execution::par_unseq** ''' - Parallel execution + vectorization
The Intel C++ compiler also supports another policy, which was not specified in the [http://en.cppreference.com/w/cpp/algorithm/execution_policy_tag_t C++ Documentation]:
- **'''std::execution::unseq** ''' - Vectorization
These executions are passed as the first parameter for the algorithm: