20 #ifdef CUML_ENABLE_GPU
21 #include <raft/core/handle.hpp>
25 #ifdef CUML_ENABLE_GPU
27 handle_t(raft::handle_t
const* handle_ptr =
nullptr) : raft_handle_{handle_ptr} {}
28 handle_t(raft::handle_t
const& raft_handle) : raft_handle_{&raft_handle} {}
37 raft_handle_->sync_stream_pool();
38 raft_handle_->sync_stream();
43 raft::handle_t
const* raft_handle_;
math_t max(math_t a, math_t b)
Definition: learning_rate.h:26
Definition: buffer.hpp:33
int cuda_stream
Definition: cuda_stream.hpp:25
Definition: handle.hpp:46
auto get_usable_stream_count() const
Definition: handle.hpp:49
auto get_next_usable_stream() const
Definition: handle.hpp:47
auto get_stream_pool_size() const
Definition: handle.hpp:48
void synchronize() const
Definition: handle.hpp:50