| ggml_run | R Documentation |
Validates a ggml_task against ggml_ops_registry,
resolves the compute device, invokes the registered engine and returns a
ggml_result. This is the dispatch layer: the only place that
decides GPU vs CPU. device = "auto" (the task default) uses Vulkan when
a GPU is available and CPU otherwise; device = "vulkan" on a machine
with no GPU degrades to CPU with a message rather than failing.
ggml_run(task, backend = NULL, ...)
task |
A |
backend |
Optional override of |
... |
Additional parameters merged over |
A ggml_result.
ggml_task, ggml_ops_registry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.