YOrch 1.0.0
Loading...
Searching...
No Matches
policy.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <limits>
5
6namespace yorch::detail {
7
17enum class slot_logical_policy : unsigned char {
18 none,
21};
22
32enum class slot_physical_policy : unsigned char {
33 none,
36};
37
46enum class output_storage_mode : unsigned char {
47 none,
48 owned,
50};
51
59inline constexpr std::size_t no_physical_slot = std::numeric_limits<std::size_t>::max();
60
61} // namespace yorch::detail
constexpr std::size_t no_physical_slot
Sentinel physical slot index meaning "this node has no storage".
Definition policy.hpp:59
output_storage_mode
Describes how a node's logical output is backed at runtime.
Definition policy.hpp:46
slot_physical_policy
Storage-level policy for a physical slot after layout selection.
Definition policy.hpp:32
slot_logical_policy
Node-local slot semantics inferred from a task's result protocol.
Definition policy.hpp:17