SyTen

◆ cuda() [1/2]

template<Rank rank, typename Scalar = SDef>
auto& syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::cuda ( )
inline

If the stored dense tensor is a cuda dense tensor, returns a reference to it, otherwise terminates.

References syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::storage, SYTEN_ASSERT_MSG, SYTEN_SINGLE_ARG, and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::translate_index().

Referenced by syten::GenericDenseTensorImpl::addScaled().

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