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