Skip to content

Commit adf4529

Browse files
dmjioclaude
andcommitted
feat|test: Add eigSH for symmetric/Hermitian eigendecomposition
Adds `eigSH` via a new `af_eigsh` C wrapper (cbits/eigsh.c) that calls cuSOLVER on CUDA backends and falls back to SVD on CPU/OpenCL. Includes unit and property-based tests covering eigenvalue ordering, eigenvector orthonormality, and full matrix reconstruction. Also fixes minor test description duplicates in ArithSpec and ArraySpec. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 23b5db0 commit adf4529

7 files changed

Lines changed: 512 additions & 12 deletions

File tree

‎arrayfire.cabal‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ library
8787
af
8888
c-sources:
8989
cbits/wrapper.c
90+
cbits/eigsh.c
9091
build-depends:
9192
base < 5, deepseq, filepath, vector
9293
hs-source-dirs:

0 commit comments

Comments
 (0)