SyTen

◆ cast()

template<typename T >
template<typename U >
CudaPtr< U > syten::Cuda::CudaPtr< T >::cast ( ) const
inline

Returns a pointer of type U without type checking.

References syten::Cuda::CudaPtr< T >::host_device, syten::Cuda::CudaPtr< T >::ptr, and syten::Cuda::CudaPtr< T >::size_index.