ggml : shorten virtual device naming in CUDA and Metal (#27608)

* ggml : shorten virtual device naming in CUDA and Metal

Assisted-by: llama.cpp:DeepSeek-V4-Flash-0731

* ggml-metal : build device description at init

Assisted-by: llama.cpp:DeepSeek-V4-Flash-0731

* cont : naming
This commit is contained in:
Georgi Gerganov
2026-08-24 12:35:08 +03:00
committed by GitHub
parent c1c766da59
commit a14dba686a
5 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -891,7 +891,7 @@ static ggml_backend_dev_t ggml_backend_metal_device_init(ggml_backend_reg_t reg,
return new ggml_backend_device {
/* .iface = */ ggml_backend_metal_device_i,
/* .reg = */ reg,
/* .context = */ ggml_metal_device_get(device),
/* .context = */ ggml_metal_device_get(device, g_devices),
};
}