whisper.cpp/include
stone c4ca35ee50 ggml-backend : add disable_backends parameter to skip specific backends
Allow selectively disabling GPU backends by passing a comma-separated
list of backend names (e.g. "vulkan,opencl") via the new
ggml_backend_load_all_from_path_with_disable() function and the
disable_backends field in whisper_context_params.

This is useful when certain backends are available but cause issues
(driver bugs, unsupported hardware features, etc.) and should be
skipped without recompiling.

Example usage:
  whisper_context_params params = whisper_context_default_params();
  params.disable_backends = "vulkan,opencl";
  struct whisper_context * ctx = whisper_init_from_file_with_params(path, params);
2026-03-31 17:03:27 +02:00
..
whisper.h ggml-backend : add disable_backends parameter to skip specific backends 2026-03-31 17:03:27 +02:00