b9646
ggml-org/llama.cppb9646Jun 15, 2026by github-actions[bot]same day as b9645
What changed since b9645
b9646 is a single SYCL backend refactor that hoists Level Zero detection into initialization and caches device properties.
Improvements
- SYCL: Level Zero enablement is now detected once during ggml_sycl_init instead of on every allocation.
- SYCL: removed repeated getenv() lookups for GGML_SYCL_ENABLE_LEVEL_ZERO in hot paths.
- SYCL: zeDeviceGetProperties results are pre-cached rather than queried repeatedly.
- SYCL: consolidated environment-variable handling behind a single ggml_sycl_get_env helper.
Upgrade notes
Drop-in replacement for b9645 with no API or config changes. SYCL users relying on GGML_SYCL_ENABLE_LEVEL_ZERO should confirm the variable is set before process start, since it is now read once at initialization rather than per allocation. Non-SYCL backends are unaffected.
Analyzed Nov 1, 2026
Upgrading?
Release notes summary
This update refactors the SYCL backend by removing per-allocation Level Zero runtime checks and centralizing detection logic during initialization.
Key Highlights
- [SYCL] Removed per-allocation Level Zero runtime checks
- Centralized Level Zero detection in ggml_sycl_init
- Pre-cached results of zeDeviceGetProperties
New Features
- SYCL optimization removing redundant checks
- Centralized initialization logic
Release Notes (excerpt)
<details open> [SYCL]: Remove per-allocation Level Zero runtime checks (#23399) * [SYCL] Centralize Level Zero detection in ggml_sycl_init * use the same wording * get back the warning * [SYCL] Remove per-allocation getenv() for GGML_SYCL_ENABLE_LEVEL_ZERO * bring back the comment * move it up to make sure devices call the shots * move the env detection early * replace g_ggml_sycl_enable_level_zero with a direct call to .ext_oneapi_level_zero * update the comment…
Published by ggml-org on GitHub.
Read the full release notesRelated Repositories
:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Godot Engine – Multi-platform 2D and 3D game engine
ClickHouse® is a real-time analytics database management system
Self-hosted game stream host for Moonlight.
DuckDB is a high-performance analytical database system