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, ...)A ggml_result.
A ggml_task.
Optional override of task$device:
"auto" (default), "vulkan" or "cpu".
Additional parameters merged over task$params and passed to
the engine.
ggml_task, ggml_ops_registry