10 #ifdef CUML_ENABLE_GPU
11 #include <raft/core/handle.hpp>
15 #ifdef CUML_ENABLE_GPU
17 handle_t(raft::handle_t
const* handle_ptr =
nullptr) : raft_handle_{handle_ptr} {}
18 handle_t(raft::handle_t
const& raft_handle) : raft_handle_{&raft_handle} {}
27 raft_handle_->sync_stream_pool();
28 raft_handle_->sync_stream();
33 raft::handle_t
const* raft_handle_;
math_t max(math_t a, math_t b)
Definition: learning_rate.h:16
Definition: buffer.hpp:24
int cuda_stream
Definition: cuda_stream.hpp:14
Definition: handle.hpp:36
auto get_usable_stream_count() const
Definition: handle.hpp:39
auto get_next_usable_stream() const
Definition: handle.hpp:37
auto get_stream_pool_size() const
Definition: handle.hpp:38
void synchronize() const
Definition: handle.hpp:40