YOrch 1.0.0
Loading...
Searching...
No Matches
policies.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <type_traits>
4
5namespace yorch {
6
9
10} // namespace yorch
11
12namespace yorch::detail {
13
14template <typename ExecPolicy>
15concept exec_policy =
16 std::is_same_v<std::remove_cvref_t<ExecPolicy>, yorch::exec_serial_dfs_recursive_policy> ||
17 std::is_same_v<std::remove_cvref_t<ExecPolicy>, yorch::exec_serial_dfs_explicit_heap_stack_policy>;
18
19} // namespace yorch::detail