◆ maybe_make_dense_cuda()

template<Rank rank>
void syten::Tensor< rank >::maybe_make_dense_cuda ( )

Conditionally transforms all stored dense tensors into CUDA dense tensors if CUDA support is compiled in, at least one CUDA device is enabled and the individual blocks are larger than the CUDA threshold.

Referenced by syten::MPS::OperatorApplicators::LWMR::operator()(), and syten::MPS::OperatorApplicators::LMWR::operator()().

+ Here is the caller graph for this function: