|
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().