| ggml_vulkan_free | R Documentation |
Releases resources associated with the Vulkan backend.
ggml_vulkan_free(backend)
backend |
Vulkan backend pointer from ggml_vulkan_init() |
NULL (invisible)
if (ggml_vulkan_available() && ggml_vulkan_device_count() > 0) {
backend <- ggml_vulkan_init(0)
ggml_vulkan_free(backend)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.