Skip to content

vulkan: add barrier after writetimestamp - #21865

Merged
0cc4m merged 1 commit into
ggml-org:masterfrom
jeffbolznv:timestamp_barrier
Apr 28, 2026
Merged

0cc4m merged 1 commit into
ggml-org:masterfrom
jeffbolznv:timestamp_barrier

Conversation

@jeffbolznv

Copy link
Copy Markdown
Contributor

Overview

Add a pipelinebarrier after each writetimestamp call in the perf_logger code.

Additional information

The vulkan spec doesn't prevent commands issued after a timestamp from starting to execute before the timestamp is written. The NV driver had been ordering these, but future drivers won't. So we need a barrier after each timestamp to order the timestamp vs the next commands.

Requirements

@jeffbolznv
jeffbolznv requested a review from a team as a code owner April 13, 2026 17:56
@github-actions github-actions Bot added Vulkan Issues specific to the Vulkan backend ggml changes relating to the ggml tensor library for machine learning labels Apr 13, 2026
@jeffbolznv

Copy link
Copy Markdown
Contributor Author

Bumping for review.

@0cc4m

0cc4m commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

@ggml-org/maintainers Another approval needed.

@0cc4m
0cc4m merged commit 1982117 into ggml-org:master Apr 28, 2026
45 of 47 checks passed
IntelNav pushed a commit to IntelNav/llama.cpp that referenced this pull request Apr 29, 2026
baramofme pushed a commit to baramofme/llama-cpp-turboquant that referenced this pull request May 23, 2026
carlosfundora pushed a commit to carlosfundora/llama.cpp-1-bit-turbo that referenced this pull request May 24, 2026
MrLordCat referenced this pull request in MrLordCat/llama.cpp-rdna-lab Jul 16, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning Vulkan Issues specific to the Vulkan backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants