| llama_max_devices | R Documentation |
Get maximum number of devices
llama_max_devices()
An integer scalar: the maximum number of compute devices available.
# Query the maximum number of devices supported by the backend
n <- llama_max_devices()
cat("Max devices:", n, "\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.