Repository navigation
sycl: Try PkgConfig for LevelZero includes / libs - #31076
Merged
Merged
Conversation
WIP: This is a first cut at an attempt to make finding the LevelZero development files (includes and linker libraries) find-able with newer oneAPI installations. (2026.1 or 2026.2, not certain) Improvements and feedback welcome. I'm not a cmake wizard.
mctylr-gh
force-pushed
the
mct-sycl-pkgconfig-l0
branch
from
October 27, 2026 18:08
9fb978c to
a9f4376
Compare
mctylr-gh
marked this pull request as ready for review
October 30, 2026 01:04
arthw
approved these changes
Oct 31, 2026
Titaniumtown
approved these changes
Nov 1, 2026
Titaniumtown
requested changes
Nov 1, 2026
Titaniumtown
reviewed
Nov 1, 2026
Make an explicit find_package(PkgConfig) (built-in), which I thought was already done, but isn't. Add/restore the target_compile_definitions for LEVEL_ZERO support via pkg-config.
Titaniumtown
approved these changes
Nov 1, 2026
Contributor
Author
|
closes #31074 |
edwardyoon
pushed a commit
to edwardyoon/focus-llama
that referenced
this pull request
Nov 1, 2026
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Issue: #31074 - "Compile bug: [SYCL] Leverl Zero detection / support needs updating"
WIP: This is a first cut at an attempt to make finding the LevelZero development files (includes and linker libraries) find-able with newer oneAPI installations. (2026.1 or 2026.2, not certain)Improvements and feedback welcome. I'm not a cmake wizard.
Additional information
Requirements