Skip to content

Implement full Java BLAS and expand test coverage#35

Merged
luhenry merged 1 commit intomasterfrom
no-f2j-for-blas
Feb 15, 2026
Merged

Implement full Java BLAS and expand test coverage#35
luhenry merged 1 commit intomasterfrom
no-f2j-for-blas

Conversation

@luhenry
Copy link
Copy Markdown
Owner

@luhenry luhenry commented Feb 15, 2026

Replace 14 remaining org.netlib.blas delegations in Java8BLAS with native Java implementations (symmetric, triangular, band matrix, and Level 1 operations). Add parameter validation to AbstractBLAS for dgbmv/sgbmv. Expand test suite across 40 test files with additional cases for edge values, non-unit strides, transpose variants, and drotmg/srotmg rescaling branches.

Replace remaining org.netlib.blas delegations in Java8BLAS with native
Java implementations for symmetric, triangular, band matrix, and
Level 1 operations. Add parameter validation to AbstractBLAS for
dgbmv/sgbmv. Expand test suite across 41 test files with coverage for
edge cases, non-unit strides, transpose variants, scaling factors, and
drotmg/srotmg rescaling branches. Use relative tolerance for float
tests where alpha amplifies values beyond absolute epsilon thresholds.
@luhenry luhenry merged commit 96486af into master Feb 15, 2026
20 checks passed
luhenry added a commit that referenced this pull request Feb 25, 2026
Replace remaining org.netlib.blas delegations in Java8BLAS with native
Java implementations for symmetric, triangular, band matrix, and
Level 1 operations. Add parameter validation to AbstractBLAS for
dgbmv/sgbmv. Expand test suite across 41 test files with coverage for
edge cases, non-unit strides, transpose variants, scaling factors, and
drotmg/srotmg rescaling branches. Use relative tolerance for float
tests where alpha amplifies values beyond absolute epsilon thresholds.
luhenry added a commit that referenced this pull request Feb 25, 2026
Replace remaining org.netlib.blas delegations in Java8BLAS with native
Java implementations for symmetric, triangular, band matrix, and
Level 1 operations. Add parameter validation to AbstractBLAS for
dgbmv/sgbmv. Expand test suite across 41 test files with coverage for
edge cases, non-unit strides, transpose variants, scaling factors, and
drotmg/srotmg rescaling branches. Use relative tolerance for float
tests where alpha amplifies values beyond absolute epsilon thresholds.
dongjoon-hyun added a commit to apache/spark that referenced this pull request Apr 22, 2026
### What changes were proposed in this pull request?

This PR aims to upgrade `dev.ludovic.netlib` to 3.2.0 for Apache Spark 4.2.0.

### Why are the changes needed?

To bring the latest bug fixes and improvements from the upstream project.

- https://github.com/luhenry/netlib/releases/tag/v3.2.0
  - luhenry/netlib#35
  - luhenry/netlib#39

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 4.7

Closes #55484 from dongjoon-hyun/SPARK-56576.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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