SyTen

◆ copy_to_device()

template<typename Type >
CudaDynArray< Type > syten::Cuda::CudaDynArray< Type >::copy_to_device ( int  device) const
inline

Copies this onto the specified device or returns a const reference to this if CUDA is disabled.

References syten::Cuda::CudaDynArray< Type >::begin(), syten::Cuda::copy(), and syten::Cuda::CudaDynArray< Type >::length.

+ Here is the call graph for this function: