mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1828] [CLOSED] sycl: register iq_parity and ple_parity like the top-level build #3704
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#3704
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/1828
Author: @Momoyeyu
Created: 10/10/2026
Status: ❌ Closed
Base:
main← Head:fix/sycl-parity-test-registration📝 Commits (1)
f7cbb64sycl: register iq_parity and ple_parity like the top-level build (#1795)📊 Changes
2 files changed (+65 additions, -3 deletions)
View changed files
📝
docs/INTEL.md(+1 -1)📝
sycl/CMakeLists.txt(+64 -2)📄 Description
Fixes #1795.
What
The port's generic parity loop registered every test as
<test> --selftest. Foriq_paritythat string became its fixture-directory argument (argv[1]), and forple_paritythe GGUF/capture-bin relative paths resolved against the build tree — so both failed on every checkout for reasons unrelated to the kernels, exactly as the reporter showed.This takes
iqandpleout of theforeachand gives them the same registrations the top-levelCMakeLists.txtuses:iq_parity: thetools/iq_fixture.pyCTest fixture (generated into the build tree), the same python-with-numpy interpreter probe (IQ_FIXTURE_PYTHONoverrides it),FIXTURES_SETUP/FIXTURES_REQUIRED, and exit-3 as a skip. The test itself runs asiq_parity <build>/iq_fixture.ple_parity:WORKING_DIRECTORY= the engine root so the binary's documented relative defaults (pack/full,bench/micro,../../Q2_0/...) resolve;--in/--outfrom aSTRATA_PLE_FIXTURE_DIRcache path (defaultbench/micro), plus newSTRATA_PLE_GGUFandSTRATA_PLE_PACKconfigure-time inputs for the artifacts the reporter asked to name.Missing inputs stay a hard error inside the test, as the top-level build intends — this only makes the error satisfiable, and
docs/INTEL.md's parity table now names the variables.Checked
ctest -Non the exact parity block (stubbedstrata_resolve/targets):iq_parity_fixtures+iq_parityandple_parityeach register exactly once; with-DSTRATA_PLE_GGUF/STRATA_PLE_PACKthe command line gains--gguf/--pack, without them it is clean of stray arguments; the fixtures command is<python> <root>/tools/iq_fixture.py --out <build>/iq_fixture.ctest— this machine has no SYCL toolchain; the registration logic is what changed, and it is verified to mirror the top-level contract. A port user can confirm with the issue's repro (ctest -R '^(iq|ple)_parity$').🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.