Skip to content

Improve BLAS test coverage and fix negative stride bug in Java8BLAS#36

Merged
luhenry merged 1 commit intomasterfrom
moar-testing
Feb 27, 2026
Merged

Improve BLAS test coverage and fix negative stride bug in Java8BLAS#36
luhenry merged 1 commit intomasterfrom
moar-testing

Conversation

@luhenry
Copy link
Copy Markdown
Owner

@luhenry luhenry commented Feb 27, 2026

Add extensive test coverage for Java8BLAS kernel methods, improving branch coverage from 81% to 89.4% and Java8BLAS specifically from 81% to 92.8%. Fix a bug in upper-triangular dspmvU/sspmvU/dsymvU/ssymvU where negative stride index initialization used (col-1) instead of (n-1), verified against the Fortran BLAS reference.

Key changes:

  • Add negative stride tests for all Level 1 BLAS operations
  • Add negative stride tests for all Level 2 BLAS operations
  • Add small-dimension GEMM tests to exercise non-blocking kernel paths
  • Add TRSM/STRSM alpha scaling tests for R/N/U and R/N/L paths
  • Add dsymm/ssymm alpha=0 with beta!=0 tests for kernel beta branch
  • Fix 8 locations in Java8BLAS where upper-triangular spmv/symv used incorrect inner loop index for negative strides

Add extensive test coverage for Java8BLAS kernel methods, improving
branch coverage from 81% to 89.4% and Java8BLAS specifically from
81% to 92.8%. Fix a bug in upper-triangular dspmvU/sspmvU/dsymvU/ssymvU
where negative stride index initialization used (col-1) instead of (n-1),
verified against the Fortran BLAS reference.

Key changes:
- Add negative stride tests for all Level 1 BLAS operations
- Add negative stride tests for all Level 2 BLAS operations
- Add small-dimension GEMM tests to exercise non-blocking kernel paths
- Add TRSM/STRSM alpha scaling tests for R/N/U and R/N/L paths
- Add dsymm/ssymm alpha=0 with beta!=0 tests for kernel beta branch
- Fix 8 locations in Java8BLAS where upper-triangular spmv/symv used
  incorrect inner loop index for negative strides

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@luhenry luhenry merged commit 9a879e1 into master Feb 27, 2026
20 checks passed
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