| has_cuda | R Documentation |
Report whether CUDA-native fastPLS execution can be used in the current session.
has_cuda()
has_cuda() returns TRUE only when both conditions hold:
the package was built with CUDA support (compile-time macro
FASTPLS_HAS_CUDA);
CUDA runtime reports at least one available device.
If either condition is not met, the function returns FALSE. The result
describes backend availability for the current R session; it does not select a
device, allocate GPU memory, or run a test computation.
A length-1 logical.
pls, fastsvd
has_cuda()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.