Home
libcuml
cucim
cudf-java
cudf
cugraph
cuml
cuproj
cuspatial
cuvs
cuxfilter
dask-cuda
dask-cudf
kvikio
libcudf
libcuml
libcuproj
libcuspatial
libkvikio
librapidsmpf
librmm
libucxx
raft
rapids-cmake
rapidsmpf
rmm
ucxx
stable (25.12)
nightly (26.02)
stable (25.12)
legacy (25.10)
include
cuml
fil
detail
raft_proto
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
6
#include <
cuml/fil/detail/raft_proto/detail/cuda_check/base.hpp
>
7
#ifdef CUML_ENABLE_GPU
8
#include <
cuml/fil/detail/raft_proto/detail/cuda_check/gpu.hpp
>
9
#endif
10
#include <
cuml/fil/detail/raft_proto/device_type.hpp
>
11
#include <
cuml/fil/detail/raft_proto/gpu_support.hpp
>
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
device_type.hpp
gpu_support.hpp
base.hpp
raft_proto
Definition:
buffer.hpp:24
raft_proto::cuda_check
void cuda_check(error_t const &err) noexcept(!GPU_ENABLED)
Definition:
cuda_check.hpp:15
gpu.hpp
Generated by
1.9.1