|
inline |
Reordering scalar product of a standard dense tensor and a CUDA dense tensor.
If either tensor is larger than SYTEN_CUDA_THRESHOLD, the calculation is done on the GPU, otherwise, the calculation is done on the host.
References syten::EnvVars::cuda_size_to_gpu, and syten::DenseTensor< rank, Scalar >::size().