SyTen

◆ maybe_make_dense_cuda()

template<Rank rank>
void syten::TensorBlock< rank >::maybe_make_dense_cuda ( )
inline

Conditionally transforms the stored dense tensor into a CUDA dense tensor if CUDA support is compiled in, at least one CUDA device is enabled and the tensor is larger than the CUDA threshold.

References syten::TensorBlock< rank >::m, and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::maybe_make_cuda().

+ Here is the call graph for this function: