cuda_check.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 #pragma once
7 #ifdef CUML_ENABLE_GPU
9 #endif
12 
13 namespace raft_proto {
14 template <typename error_t>
15 void cuda_check(error_t const& err) noexcept(!GPU_ENABLED)
16 {
17  detail::cuda_check<device_type::gpu>(err);
18 }
19 } // namespace raft_proto
Definition: buffer.hpp:24
void cuda_check(error_t const &err) noexcept(!GPU_ENABLED)
Definition: cuda_check.hpp:15