From 8e37af154a4d9ef61cd401b086e91f04e1bc877c Mon Sep 17 00:00:00 2001 From: "Mads R. B. Kristensen" Date: Wed, 4 Dec 2024 12:22:02 +0100 Subject: [PATCH] typo --- cpp/include/kvikio/shim/cufile.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/include/kvikio/shim/cufile.hpp b/cpp/include/kvikio/shim/cufile.hpp index 9dda2db0ee..372d7c2c0f 100644 --- a/cpp/include/kvikio/shim/cufile.hpp +++ b/cpp/include/kvikio/shim/cufile.hpp @@ -242,7 +242,7 @@ constexpr bool cufile_version() { return 0; } * * @return The boolean answer */ -inline bool is_batch_api_available() noexcept { return cufile_version() > 1060; } +inline bool is_batch_api_available() noexcept { return cufile_version() >= 1060; } /** * @brief Check if cuFile's stream (async) API is available. @@ -253,6 +253,6 @@ inline bool is_batch_api_available() noexcept { return cufile_version() > 1060; * * @return The boolean answer */ -inline bool is_stream_api_available() noexcept { return cufile_version() > 1070; } +inline bool is_stream_api_available() noexcept { return cufile_version() >= 1070; } } // namespace kvikio