minor fixup
This commit is contained in:
parent
b932cd7428
commit
48db724bc7
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue