]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan: Add perf logger mode with concurrency (#17944)
authorJeff Bolz <redacted>
Fri, 19 Dec 2025 05:36:46 +0000 (23:36 -0600)
committerGitHub <redacted>
Fri, 19 Dec 2025 05:36:46 +0000 (06:36 +0100)
commitcdbada8d102c32bead62e9c26473cc1ea37939f0
treee969f595d42ca070269be1d7c8d44269abd0588a
parent8ea958d4d9d5bd43f9f244950bf057b5227ce8d9
vulkan: Add perf logger mode with concurrency (#17944)

This implements a variation of the perf logger where rather than timing each
operation individually with effectively a barrier in between, we put the
timing boundaries where we already synchronize and time the groups of work
that normally overlap. This can be useful to help understand whether
individual operations need to be optimized, or if the group is already running
efficiently.

GGML_VK_PERF_LOGGER_CONCURRENT=1 enables the new mode (when
GGML_VK_PERF_LOGGER is also set).

GGML_VK_SYNC_LOGGER=1 replaces the ENABLE_SYNC_LOGGING compile time switch.
ggml/src/ggml-vulkan/ggml-vulkan.cpp