compat_mode.hpp
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #pragma once
7 
8 #include <cstdint>
9 #include <string_view>
10 
11 namespace kvikio {
15 enum class CompatMode : uint8_t {
16  OFF,
19  ON,
20  AUTO,
22 };
23 
24 namespace detail {
35 CompatMode parse_compat_mode_str(std::string_view compat_mode_str);
36 
37 } // namespace detail
38 
39 } // namespace kvikio
KvikIO namespace.
Definition: batch.hpp:16
CompatMode
I/O compatibility mode.
Definition: compat_mode.hpp:15
@ ON
Enforce POSIX I/O.