std::execution::seq, std::execution::par, std::execution::par_unseq, std::execution::unseq - cppreference.com
提供: cppreference.com
<tbody> </tbody>
| ヘッダ |
||
|
|
(C++17以上) | |
|
|
(C++17以上) | |
|
|
(C++17以上) | |
|
|
(C++20以上) | |
std::execution::seq、 std::execution::par、 std::execution::par_unseq および std::execution::unseq はそれぞれ実行ポリシー型 std::execution::sequenced_policy、 std::execution::parallel_policy、 std::execution::parallel_unsequenced_policy および std::execution::unsequenced_policy のインスタンスです。 これらは並列アルゴリズムの実行ポリシー、すなわち許される並列化の種類を指定するために使用されます。
標準ライブラリの実装によって追加の実行ポリシーが提供されるかもしれません (std::parallel::cuda や std::parallel::opencl などが将来追加されるかもしれません)。