Skip to content

sycl: dmmv code cleanup - #31325

Merged
ggerganov merged 3 commits into
ggml-org:masterfrom
Titaniumtown:pr/sycl-dmmv-launchers
Nov 2, 2026
Merged

ggerganov merged 3 commits into
ggml-org:masterfrom
Titaniumtown:pr/sycl-dmmv-launchers

Conversation

@Titaniumtown

Copy link
Copy Markdown
Contributor

Overview

Just a code cleanup. Is a no-op for performance or anything else. We should really be using templating + generics more!

Requirements

  • I have read and agree with the contributing guidelines
  • AI usage disclosure: YES - used to find places to deduplicate code and use templating + generics

@Titaniumtown
Titaniumtown requested a review from a team as a code owner October 28, 2026 16:22
@github-actions github-actions Bot added ggml changes relating to the ggml tensor library for machine learning SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language labels Oct 28, 2026

@arthw arthw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good job!

I tested on Arc770.
All related UT cases are passed.

Thank you!

@arthw arthw added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Oct 30, 2026
@ggerganov
ggerganov merged commit 5e18eb0 into ggml-org:master Nov 2, 2026
24 of 25 checks passed
iki007 added a commit to iki007/llama.cpp that referenced this pull request Nov 4, 2026
…a61c46)

The -X theirs replay of 190 commits onto master 162e2bb dropped upstream's side where both changed a hunk.
This commit sets the 9 files that differ to the one-time merge resolution (73fa61c46), so the tip's tree equals it:
ggml-sycl/fattn-mkl.cpp and fattn-onednn.cpp (ours: upstream's ggml-org#30761 fixes the same strides and per-sequence
offsets as 8e35c17 / a4cc5c9; the replay applied both offsets, ib * nb3 on top of K_batch), ggml-sycl/dmmv.cpp
(upstream's templated launchers, ggml-org#31325, without the three reorder launchers they replace), ggml-sycl/ggml-sycl.cpp
(upstream's comm_exchange pointer, ggml-org#30956, kept next to our host exchange, which returns first for one context),
ggml-sycl/CMakeLists.txt (upstream's pkg-config lookup, ggml-org#31076, our include line in its fallback),
common/speculative.cpp (upstream's DFlash device features, ggml-org#31506, next to our pos_inject; the MTP nextn setters
after is_mem_shared, ggml-org#31356), src/llama-context.cpp (ggml-org#31506's wait before our ubatch loop), src/models/dflash.cpp,
tests/test-backend-ops.cpp.

Assisted-by: Claude Opus 5.5
edwardyoon pushed a commit to edwardyoon/focus-llama that referenced this pull request Nov 6, 2026
* sycl: fold q8_0 reorder dmmv into the generic template

* sycl: template the dmmv non-K launchers

* sycl: template the dmmv K-quant launchers

(cherry picked from commit 5e18eb0)
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 merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants