tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
unsequenced_policy.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2024 Tobias Hienzsch
3
4#ifndef TETL_EXECUTION_UNSEQUENCED_POLICY_HPP
5#define TETL_EXECUTION_UNSEQUENCED_POLICY_HPP
6
7#include <etl/_execution/is_execution_policy.hpp>
8
9namespace etl::execution {
10
11/// The execution policy type used as a unique type to disambiguate parallel
12/// algorithm overloading and indicate that a parallel algorithm's execution
13/// may be vectorized, e.g., executed on a single thread using instructions
14/// that operate on multiple data items.
15///
16/// \ingroup execution
18
19/// \relates unsequenced_policy
20/// \ingroup execution
21inline constexpr auto unseq = unsequenced_policy{};
22
23} // namespace etl::execution
24
25template <>
27
28#endif // TETL_EXECUTION_UNSEQUENCED_POLICY_HPP
constexpr auto unseq
Definition unsequenced_policy.hpp:21
Definition sequenced_policy.hpp:9
Definition adjacent_find.hpp:9
The execution policy type used as a unique type to disambiguate parallel algorithm overloading and in...
Definition unsequenced_policy.hpp:17
Checks whether T is a standard or implementation-defined execution policy type.
Definition is_execution_policy.hpp:14