void syten::Cuda::copy | ( | CudaPtr< const char > | src, |
CudaPtr< char > | dst, | ||
std::size_t | num, | ||
CudaStream const & | str | ||
) |
Copies num
bytes from src
to dst
within stream str
.
References std::copy(), cuda_handle_error, syten::Cuda::CudaPtr< T >::dev(), and syten::Cuda::CudaPtr< T >::get().