Skip to content

Commit 421c46d

Browse files
Minor fixes
1 parent 76830b9 commit 421c46d

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

cpp/include/kvikio/defaults.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2025, NVIDIA CORPORATION.
2+
* Copyright (c) 2022-2025, NVIDIA CORPORATION.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

cpp/include/kvikio/remote_handle.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class RemoteHandle {
226226
*
227227
* @return The number of bytes.
228228
*/
229-
std::size_t nbytes() const noexcept;
229+
[[nodiscard]] std::size_t nbytes() const noexcept;
230230

231231
/**
232232
* @brief Get a const reference to the underlying remote endpoint.

cpp/include/kvikio/shim/cuda.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
#pragma once
1717

18-
#include <kvikio/shim/cuda.hpp>
1918
#include <kvikio/shim/cuda_h_wrapper.hpp>
2019
#include <kvikio/shim/utils.hpp>
2120

cpp/include/kvikio/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ std::tuple<void*, std::size_t, std::size_t> get_alloc_info(const void* devPtr,
150150
CUcontext* ctx = nullptr);
151151

152152
template <typename T>
153-
inline bool is_future_done(const T& future)
153+
bool is_future_done(const T& future)
154154
{
155155
return future.wait_for(std::chrono::seconds(0)) != std::future_status::timeout;
156156
}

0 commit comments

Comments
 (0)