]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan: use memory budget extension to read memory usage (#15545)
authorGilad S. <redacted>
Mon, 1 Sep 2025 19:17:42 +0000 (22:17 +0300)
committerGitHub <redacted>
Mon, 1 Sep 2025 19:17:42 +0000 (21:17 +0200)
commitd4d8dbe383e8b9600cbe8b42016e3a4529b51219
tree23f4e6ea25413c3ad0744b2d6d3b0bb0c3475985
parent35a42edac84690990a75726898d975cd08d220c0
vulkan: use memory budget extension to read memory usage (#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
ggml/src/ggml-vulkan/ggml-vulkan.cpp