Skip to content

Commit

Permalink
Tweak comment format
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcrimsontianyu committed Feb 14, 2025
1 parent f223f37 commit 1c2af67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpp/include/kvikio/compat_mode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class CompatModeManager {
CompatModeManager& operator=(CompatModeManager&&) noexcept = default;

/**
* @brief Functionally identical to `defaults::infer_compat_mode_if_auto(CompatMode)`.
* @brief Functionally identical to defaults::infer_compat_mode_if_auto(CompatMode).
*
* @param compat_mode Compatibility mode.
* @return If the given compatibility mode is CompatMode::AUTO, infer the final compatibility
Expand All @@ -105,7 +105,7 @@ class CompatModeManager {
CompatMode infer_compat_mode_if_auto(CompatMode compat_mode) noexcept;

/**
* @brief Functionally identical to `defaults::is_compat_mode_preferred(CompatMode)`.
* @brief Functionally identical to defaults::is_compat_mode_preferred(CompatMode).
*
* @param compat_mode Compatibility mode.
* @return Boolean answer.
Expand Down Expand Up @@ -136,10 +136,10 @@ class CompatModeManager {
CompatMode compat_mode_requested() const noexcept;

/**
* @brief Determine if the asynchronous I/O should be performed or not (throw exceptions)
* @brief Determine if the asynchronous I/O can be performed or not (throw exceptions)
* according to the existing compatibility mode data in the manager.
*
* The asynchronous I/O should not be performed, for instance, when compat_mode_requested() is
* The asynchronous I/O cannot be performed, for instance, when compat_mode_requested() is
* CompatMode::OFF, is_compat_mode_preferred() is CompatMode::OFF, but
* is_compat_mode_preferred_for_async() is CompatMode::ON (due to missing cuFile stream API or
* cuFile configuration file).
Expand Down

0 comments on commit 1c2af67

Please sign in to comment.