]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
vulkan : update ggml_vk_instance_validation_ext_available (llama/15666)
authorDaniel Bevenius <redacted>
Wed, 3 Sep 2025 18:24:50 +0000 (20:24 +0200)
committerGeorgi Gerganov <redacted>
Sat, 20 Sep 2025 10:42:48 +0000 (13:42 +0300)
commit4144ae10e9b4a97c58f5500d39790f7586e19a43
tree8cda3866c2ef6a3c9f3453255d15f3aacc28a626
parent85c7aa37503fa16177286245fb71276185a2f7cc
vulkan : update ggml_vk_instance_validation_ext_available (llama/15666)

* vulkan : update ggml_vk_instance_validation_ext_available

This commit updates ggml_vk_instance_validation_ext_available() to
check for VK_EXT_validation_features instead of
VK_KHR_portability_enumeration.

Based on how the returned boolean is used later in the code (to enable
both the validation layer and the VK_EXT_validation_features extension),
it appears the function may have been intended to check for the
validation layer features extension.

* remove try/catch

This was a left over from a previous iteration where I was explicitly
quering for a specific validation layer first, which would throw.

* update warning message about validation layers
ggml/src/ggml-vulkan/ggml-vulkan.cpp