29 template <device_type dst_type, device_type src_type,
typename T>
30 std::enable_if_t<std::conjunction_v<std::bool_constant<dst_type == device_type::cpu>,
31 std::bool_constant<src_type == device_type::cpu>>,
38 template <device_type dst_type, device_type src_type,
typename T>
40 std::conjunction_v<std::disjunction<std::bool_constant<dst_type != device_type::cpu>,
41 std::bool_constant<src_type != device_type::cpu>>,
42 std::bool_constant<!GPU_ENABLED>>,
std::enable_if_t< std::conjunction_v< std::bool_constant< dst_type==device_type::cpu >, std::bool_constant< src_type==device_type::cpu > >, void > copy(T *dst, T const *src, uint32_t size, cuda_stream stream)
Definition: cpu.hpp:33
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 > copy(T *dst, T const *src, uint32_t size, cuda_stream stream)
Definition: cpu.hpp:44
Definition: buffer.hpp:35
int cuda_stream
Definition: cuda_stream.hpp:25
Definition: gpu_support.hpp:47