Skip to content

fix(compute): ungate kernel test imports on x86 - #385

Merged
chrishayuk merged 1 commit into
mainfrom
measurement-guards-x86
Sep 1, 2026
Merged

fix(compute): ungate kernel test imports on x86#385
chrishayuk merged 1 commit into
mainfrom
measurement-guards-x86

Conversation

@chrishayuk

Copy link
Copy Markdown
Owner

fix(compute): ungate the kernel test imports the refusal tests need on x86

The Q8K refusal tests added in #384 use BLOCK_BYTES and Q6K_BLOCK_BYTES on
every architecture, but tests.rs imported both under the aarch64+neon cfg,
and the AVX2 parity test still discarded the kernel's new Result inside its
unsafe block. Neither compiles on x86_64, so the larql-compute test job goes
red on ubuntu and windows while the aarch64 gates stay green.

Import the two constants unconditionally and .expect the AVX2 call.
Verified with cargo clippy --target x86_64-apple-darwin --all-targets and
an x86_64 --no-run test build alongside the aarch64 gates.

@chrishayuk
chrishayuk merged commit dd90142 into main Sep 1, 2026
…n x86

The Q8K refusal tests added in #384 use BLOCK_BYTES and Q6K_BLOCK_BYTES on
every architecture, but tests.rs imported both under the aarch64+neon cfg,
and the AVX2 parity test still discarded the kernel's new Result inside its
unsafe block. Neither compiles on x86_64, so the larql-compute test job goes
red on ubuntu and windows while the aarch64 gates stay green.

Import the two constants unconditionally and `.expect` the AVX2 call.
Verified with `cargo clippy --target x86_64-apple-darwin --all-targets` and
an x86_64 `--no-run` test build alongside the aarch64 gates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant