]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
vulkan: use memory budget extension to read memory usage (llama/15545)
authorGilad S. <redacted>
Mon, 1 Sep 2025 19:17:42 +0000 (22:17 +0300)
committerGeorgi Gerganov <redacted>
Fri, 5 Sep 2025 09:54:10 +0000 (12:54 +0300)
commitcc62cd95345d0d54de46edd3887f3cce579abdfb
treee0ad5c49b4f93afe1d966c0fc1767c8ec7a0d341
parent2d57866e8786583cc6e1162fc4486ee4c63bd856
vulkan: use memory budget extension to read memory usage (llama/15545)

* vulkan: use memory budget extension to read memory usage

* fix: formatting and names

* formatting

* fix: detect and cache memory budget extension availability on init

* fix: read `budgetprops.heapBudget` instead of `heap.size` when memory budget extension is available

* style: lints
src/ggml-vulkan/ggml-vulkan.cpp