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