| ggml_vulkan_status | R Documentation |
Prints information about Vulkan availability and devices, and returns the same information as a list so it can be used programmatically.
ggml_vulkan_status()
Invisibly, a list with components:
Logical, whether Vulkan support is compiled in and usable
Integer, number of Vulkan devices (0 if unavailable)
List of per-device property lists as returned by
ggml_vulkan_list_devices; an empty list if there are none
Status is also printed to the console.
ggml_vulkan_status()
st <- ggml_vulkan_status()
if (st$available && st$n_devices > 0) {
print(st$devices[[1]]$name)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.