SyTen

◆ get_value()

template<typename T >
T syten::Cuda::CudaConstSpan< T >::get_value ( std::size_t  idx) const
inline

Returns an element by-value.

This is a costly operation.

References syten::Cuda::copy(), syten::Cuda::CudaConstSpan< T >::ptr, syten::Cuda::CudaConstSpan< T >::size(), and SYTEN_ASSERT_MSG.

Referenced by syten::CudaDenseTensorImpl::isZero().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: