Skip to content

Commit

Permalink
Activate Eigenvalue Decompositions to XLA's FFI
Browse files Browse the repository at this point in the history
Two eigenvalue decomposition methods. One is intended for non-symmetric matrices - GEEV (General Eigenvalue Solver) - and the other for Symmetric or Hermitian matrices - SYEVD/HEEVD.

PiperOrigin-RevId: 668381949
  • Loading branch information
pparuzel authored and jax authors committed Aug 28, 2024
1 parent b0bd933 commit 3c6103f
Show file tree
Hide file tree
Showing 6 changed files with 932 additions and 112 deletions.
2 changes: 2 additions & 0 deletions jax/_src/export/_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,8 @@ def _check_lowering(lowering) -> None:
_CPU_FFI_KERNELS = [
"lapack_spotrf_ffi", "lapack_dpotrf_ffi", "lapack_cpotrf_ffi", "lapack_zpotrf_ffi",
"lapack_sgeqrf_ffi", "lapack_dgeqrf_ffi", "lapack_cgeqrf_ffi", "lapack_zgeqrf_ffi",
"lapack_ssyevd_ffi", "lapack_dsyevd_ffi", "lapack_cheevd_ffi", "lapack_zheevd_ffi",
"lapack_sgeev_ffi", "lapack_dgeev_ffi", "lapack_cgeev_ffi", "lapack_zgeev_ffi",
"lapack_sgesdd_ffi", "lapack_dgesdd_ffi", "lapack_cgesdd_ffi", "lapack_zgesdd_ffi",
"lapack_sgetrf_ffi", "lapack_dgetrf_ffi", "lapack_cgetrf_ffi", "lapack_zgetrf_ffi",
]
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 3c6103f

Please sign in to comment.