return integrated in vulkan backend

This commit is contained in:
Inforithmics 2025-10-05 21:13:21 +02:00
parent 37206cdf32
commit fd648506c1
2 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ index 061cd078..adea7783 100644
props->description = ggml_backend_vk_device_get_description(dev);
+ props->id = ggml_backend_vk_device_get_id(dev);
+ props->library = GGML_VK_NAME;
+ props->integrated = ctx->is_integrated_gpu;
props->type = ggml_backend_vk_device_get_type(dev);
props->device_id = ctx->pci_bus_id.empty() ? nullptr : ctx->pci_bus_id.c_str();
ggml_backend_vk_device_get_memory(dev, &props->memory_free, &props->memory_total);

View File

@ -12556,6 +12556,7 @@ static void ggml_backend_vk_device_get_props(ggml_backend_dev_t dev, struct ggml
props->description = ggml_backend_vk_device_get_description(dev);
props->id = ggml_backend_vk_device_get_id(dev);
props->library = GGML_VK_NAME;
props->integrated = ctx->is_integrated_gpu;
props->type = ggml_backend_vk_device_get_type(dev);
props->device_id = ctx->pci_bus_id.empty() ? nullptr : ctx->pci_bus_id.c_str();
ggml_backend_vk_device_get_memory(dev, &props->memory_free, &props->memory_total);