Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcrimsontianyu committed Nov 14, 2024
1 parent 299f9c2 commit 2519cc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/include/kvikio/defaults.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#pragma once

#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstdlib>
#include <sstream>
Expand Down Expand Up @@ -224,7 +223,8 @@ class defaults {
* @brief If the requested compatibility mode is AUTO, set the actual compatibility mode to ON or
* OFF by performing a system config check; otherwise, do nothing. Effectively, this function
* reduces the requested compatibility mode from three possible states (ON/OFF/AUTO) to two
* (ON/OFF) so as to determine the actual I/O path.
* (ON/OFF) so as to determine the actual I/O path. This function is lightweight as the inferred
* result is cached.
*/
static CompatMode infer_compat_mode_if_auto(CompatMode compat_mode)
{
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/kvikio/file_handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class FileHandle {
* @brief Get the underlying cuFile file handle
*
* The file handle must be open and not in compatibility mode i.e.
* both `.closed()` and `.is_on()` must be return false.
* both `.closed()` and `defaults::is_compat_mode_always_on()` must be return false.
*
* @return cuFile's file handle
*/
Expand Down

0 comments on commit 2519cc8

Please sign in to comment.