minor fixup

This commit is contained in:
Jared Van Bortel 2024-01-29 14:15:18 -05:00
parent b932cd7428
commit 48db724bc7

View file

@ -340,7 +340,7 @@ ggml_vk_device ggml_vk_current_device() {
if (!komputeManager()->hasDevice()) if (!komputeManager()->hasDevice())
return ggml_vk_device(); return ggml_vk_device();
auto devices = ggml_vk_available_devices(0); auto devices = ggml_vk_available_devices_internal(0);
ggml_vk_filterByName(devices, komputeManager()->physicalDevice()->getProperties().deviceName.data()); ggml_vk_filterByName(devices, komputeManager()->physicalDevice()->getProperties().deviceName.data());
GGML_ASSERT(!devices.empty()); GGML_ASSERT(!devices.empty());
return devices.front(); return devices.front();