mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3934] [CLOSED] [Engine] sycl: build iq_avx512.cpp with -mavx512vpopcntdq and -mbmi2, as the top-level build does #4840
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4840
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3934
Author: @deriknel
Created: 10/24/2026
Status: ❌ Closed
Base:
main← Head:pr/sycl-cmake-bmi2📝 Commits (1)
616dd21sycl: build iq_avx512.cpp with -mavx512vpopcntdq and -mbmi2, as the top-level build does📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
sycl/CMakeLists.txt(+1 -1)📄 Description
Problem and result
Since v0.2.4 the SYCL engine does not build. The CPU rows added in
1747c8e5use_pdep_u64/_pext_u32(BMI2) and VPOPCNTDQ insrc/kernels/cpu/iq_avx512.cpp. The top-levelCMakeLists.txtadded-mavx512vpopcntdq;-mbmi2for that file;sycl/CMakeLists.txtcompiles the same file and kept the old flag list, so icpx stops with:This change gives the SYCL build the same flags. With it, v0.2.4 builds for SYCL again.
Related discussion
none. The Intel engine package in v0.2.4 is still the 0.1.48 file from v0.2.3, which is probably why the break went unnoticed.
Approach
sycl/CMakeLists.txt, one line: theCOMPILE_OPTIONSofiq_avx512.cppandnvfp4_avx512.cppnow match the top-level list (-mavx512vpopcntdq;-mbmi2added). The flags only let the file compile; which rows run is still decided at run time by the CPU probe.Validation
Setup: v0.2.4 (
96ca4383) built for SYCL in a container (AOTbmg-g31, oneAPI 2026.1, Compute Runtime 26.35.39758.10, IGC 2.41.5) with this change and our other local SYCL patches; host CachyOS, kernel 7.2.11,xe, i9-14900KF, 2x Intel Arc Pro B70 32 GB.Passed:
iq_avx512.cppwith the error above; with it the full build completes.cteston both cards: 41 tests, the one failure isple_parity(needs a Q2_0 model file we do not have), the same as before this change.Failed:
Not run:
Limits
Build-only change. On a CPU without AVX-512 (our i9-14900KF) these rows never run, so the run-time check above covers the build and the GPU engine, not the AVX-512 rows themselves.
We investigated (myself and Claude Opus 5.5 in Claude Code) and I reviewed the findings and ran every test on my two Arc Pro B70s on my CachyOS machine.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.