fix(vector): batched Dot in the scalar VectorF32 fallback #2
No reviewers
Labels
No labels
claude:blocked
claude:done
claude:failed
claude:in-progress
claude:ready
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Catcrafts/Crafter.Math!2
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/scalar-fallback-dot"
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?
MatrixRowMajorcalls the batchedVectorF32<Len, 1>::Dot(a0, b0, a1, b1, …). The x86, wasm and RISC-V backends define it; the scalar fallback did not, so Crafter.Math failed to compile on every target without an intrinsic backend:Found cross-building Crafter.Graphics for
aarch64-alpine-linux-musl. This adds the sameDotto the fallback, written like the RISC-V one (one lane per pair, only the firstLenlanes of each input summed).Verification
Note on overlap
There is uncommitted work on a NEON backend in a local checkout that touches the same file. This PR is only the 22-line fallback fix on top of
master; it stays valid for targets that still have no intrinsic backend.🤖 Generated with Claude Code
Pull request closed