Namespaces | Functions
cpu.hpp File Reference
#include <cuml/experimental/fil/detail/raft_proto/cuda_stream.hpp>
#include <cuml/experimental/fil/detail/raft_proto/device_type.hpp>
#include <cuml/experimental/fil/detail/raft_proto/gpu_support.hpp>
#include <stdint.h>
#include <algorithm>
#include <cstring>
Include dependency graph for cpu.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 raft_proto
 
 raft_proto::detail
 

Functions

template<device_type dst_type, device_type src_type, typename T >
std::enable_if_t< std::conjunction_v< std::bool_constant< dst_type==device_type::cpu >, std::bool_constant< src_type==device_type::cpu > >, void > raft_proto::detail::copy (T *dst, T const *src, uint32_t size, cuda_stream stream)
 
template<device_type dst_type, device_type src_type, typename T >
std::enable_if_t< std::conjunction_v< std::disjunction< std::bool_constant< dst_type !=device_type::cpu >, std::bool_constant< src_type !=device_type::cpu > >, std::bool_constant<!GPU_ENABLED > >, void > raft_proto::detail::copy (T *dst, T const *src, uint32_t size, cuda_stream stream)