]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan : update ggml_vk_instance_validation_ext_available (#15666)
authorDaniel Bevenius <redacted>
Wed, 3 Sep 2025 18:24:50 +0000 (20:24 +0200)
committerGitHub <redacted>
Wed, 3 Sep 2025 18:24:50 +0000 (20:24 +0200)
commit8227695d7a3e5b357cb37fad263f00a8ca6db710
tree41e377210a6425da9f284216f7570254645820ca
parent0014fb4add3a7d000c14b763538045c6170f57d9
vulkan : update ggml_vk_instance_validation_ext_available (#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