SyTen

◆ make_cuda()

template<Rank rank, typename Scalar = SDef>
void syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::make_cuda ( )
inline

Transforms the stored dense tensor into a CUDA dense tensor.

If the tensor is in non-standard form, it is first transformed into standard form.

References syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::is_cuda(), syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::is_standard(), syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::make_standard(), syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::standard(), and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::storage.

Referenced by syten::GenericDenseTensorImpl::addScaled(), syten::TensorBlock< rank >::make_dense_cuda(), and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::maybe_make_cuda().

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