]> git.djapps.eu Git - pkg/ggml/sources/ggml/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>
Fri, 5 Sep 2025 09:54:13 +0000 (12:54 +0300)
commitcd5455e151c4005c28f177c7cf7e4d9290f6adc7
treeceda089f790efbadb4ee41c42fae60bdb50b66e9
parent7a279445bb638832df6cde77262bce4722c6ac8a
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
src/ggml-vulkan/ggml-vulkan.cpp