21 #include <kvikio/compat_mode.hpp>
34 bool _is_compat_mode_preferred{
true};
35 bool _is_compat_mode_preferred_for_async{
true};
60 std::
string const& flags,
Store and manage the compatibility mode data associated with a FileHandle.
CompatMode compat_mode_requested() const noexcept
Retrieve the original compatibility mode requested.
bool is_compat_mode_preferred_for_async() const noexcept
Check if the compatibility mode for asynchronous I/O of the associated FileHandle is expected to be C...
bool is_compat_mode_preferred() const noexcept
Check if the compatibility mode for synchronous I/O of the associated FileHandle is expected to be Co...
CompatModeManager() noexcept=default
Construct an empty compatibility mode manager.
void validate_compat_mode_for_async() const
Determine if asynchronous I/O can be performed or not (throw exceptions) according to the existing co...
Handle of an open file registered with cufile.
CompatMode
I/O compatibility mode.