Repository navigation
Fix Core i686 tests: BLAS axpby ULP and Int width - #420
Merged
ChrisRackauckas merged 1 commit intoSep 8, 2026
Merged
Conversation
axpby! forwards to LinearAlgebra on the parent array. Comparing that
result to broadcast `α .* x .+ β .* y` fails by 1 ULP on i686 OpenBLAS.
Compare against axpy!/axpby! on getdata instead.
Missing/nothing construction used Union{Int64,...} for integer literals,
which are Int32 on 32-bit. Use Int.
Fail-before (i686 1.12.7): axpy_axpby_tests.jl:30 Test Failed
(`2.2218...9782` vs `...978`). After: Core 14/14 axpy, 69/69 construction,
full GROUP=Core passed.
Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Grok <[email protected]>
Agent-Harness: Grok Build TUI
Agent-Model: grok-4.6
Agent-Session: local session 01a07c62-9594-75e1-9f42-3faabb3d6cf2 (transcript: /home/crackauc/.grok/sessions/%2Fhome%2Fcrackauc%2Fsandbox%2Ftmp_20260907_120012_92362/01a07c62-9594-75e1-9f42-3faabb3d6cf2)
ChrisRackauckas
marked this pull request as ready for review
September 8, 2026 22:42
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 11, 2026
- Add 32-bit Core CI lane via test_groups.toml (#415) - Make 32-bit Core lane non-blocking (BFloat16s LLVM) (#416) - Keep 32-bit Core lane hard-failing. (#418) - Drop Tracker from Core tests; keep it in Autodiff (#419) - Fix Core i686 tests: BLAS axpby ULP and Int width (#420) - Handle raw `Array` cotangents into `FlatComponentArray` `fdata` (#421) - Add AirspeedVelocity benchmarking CI (#422) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.
Summary
After #419 dropped Tracker from Core, the i686 lane actually runs Core tests. Two of those tests were 64-bit-only:
axpby!is implemented asaxpby!(α, getdata(x), β, getdata(y)). The tests compared that to broadcast2 .* x .+ 3 .* y, which differs from OpenBLAS by 1 ULP on i686. Compare against LinearAlgebra on the parent arrays instead (the actual wrapper contract). Identity/===checks are unchanged.ComponentArray(a = missing, b = [2, 1, 4, 5], ...)promotes integer literals toInt, which isInt32on 32-bit. The tests hardcodedUnion{Int64, Missing/Nothing}. UseInt.Please ignore this PR until reviewed by @ChrisRackauckas.
Fail-before / pass-after
i686 Julia 1.12.7, unfixed
test/axpy_axpby_tests.jl:30:Same machine after this change:
ALL AXPY TESTS PASSED. FullGROUP=Coreon i686 1.12.7: passed (axpy 14/14, construction 69/69, all Core files green).GROUP=Corex86_64 1.12: passed (axpy 14/14).CI of #419: https://github.com/SciML/ComponentArrays.jl/actions/runs/34150296278/job/101862665789 (same axpby
==failure).Not run: Autodiff, QA, GPU, Downstream, Reactant, docs.
Links
🤖 Generated with Grok Build TUI (model: grok-4.6)
Agent-Session: local session 01a07c62-9594-75e1-9f42-3faabb3d6cf2 (transcript:
/home/crackauc/.grok/sessions/%2Fhome%2Fcrackauc%2Fsandbox%2Ftmp_20260907_120012_92362/01a07c62-9594-75e1-9f42-3faabb3d6cf2)