Commit Graph

6704 Commits

Author SHA1 Message Date
C. Antonio Sanchez
7312765992 Fix all doxygen warnings. 2025-02-15 21:10:48 -08:00
C. Antonio Sanchez
88cd53774e Fix altivec and vsx builds 2025-02-15 13:18:14 -08:00
Chip Kerchner
c0378fedd8 Fix non-VSX PowerPC build
(cherry picked from commit 9e0afe0f02)
2025-02-15 10:14:40 -08:00
Chip Kerchner
414f0a1756 Fix pre-POWER8_VECTOR bugs in pcmp_lt and pnegate and reactivate psqrt.
(cherry picked from commit 4a58f30aa0)
2025-02-15 09:17:56 -08:00
Sergey Fedorov
3adc78e39c Altivec fixes for Darwin: do not use unsupported VSX insns
(cherry picked from commit 4d05765345)
2025-02-11 20:55:29 -08:00
Morris Hafner
3e7bcf54f7 cherry-pick !1682 Add nvc++ support into 3.4 2024-11-04 17:55:47 +00:00
Antonio Sánchez
9df21dc8b4 Work around VS2015 compile bug. 2024-03-15 18:07:02 +00:00
Antonio Sánchez
157756130a Restore C++03 compatibility. 2024-03-15 17:55:04 +00:00
Antonio Sanchez
3ee06ec52f Fix real schur and polynomial solver.
For certain inputs, the real schur decomposition might get stuck in a cycle.
Exceptional shifts are supposed to knock us out of that - but previously
they were only ever applied at iteration 10 and 30, which doesn't help if
the cycle starts after cycle 30.  Modified to apply a shift every 16 iterations
(for reference, LAPACK seems to do it every 6 iterations).

Also added an assert in polynomial solver to verify that the schur decomposition
was successful.

Fixes #2633.
2024-02-16 13:11:54 -08:00
Antonio Sánchez
287c801780 Use stableNorm in ComplexEigenSolver.
(cherry picked from commit 0f0c76dc29)
2024-01-30 08:39:35 -08:00
Antonio Sanchez
42b04a08c4 Fix preshear transformation.
Fixes #2777.  The `preshear` function seems to have always used an invalid constructor
internally, and has been broken for a while.  Fixed the implementation and added a test.

(cherry picked from commit 45da84e21570bf70238cf489ad862b2f09242c5f)
2024-01-29 12:30:06 -08:00
Rasmus Munk Larsen
b86ac5f1e7 Use padd instead of +.
(cherry picked from commit bbfc4d54cd)
2024-01-29 10:50:55 -08:00
Rasmus Munk Larsen
380a9483e0 Implement a generic vectorized version of Smith's algorithms for complex division.
(cherry picked from commit 9312a5bf5c)
2024-01-26 20:42:52 -08:00
Charles Schlosser
25270e35db Fix compiler warnings in 3.4 2023-12-21 00:57:21 +00:00
Antonio Sanchez
ebf968b272 Remove c++11 from ctz/clz 2023-12-20 14:18:48 -08:00
Charles Schlosser
bd57b99f44 fix msvc clz
(cherry picked from commit 2c4541f735)
2023-12-14 13:38:18 -08:00
Antonio Sánchez
b8f894947a Add internal ctz/clz implementation.
(cherry picked from commit 75e273afcc)
2023-12-14 13:37:03 -08:00
Antonio Sanchez
4be2870267 Only apply ASM work-around for min/max on GNUC strict.
Fixes #2742.
2023-11-27 10:08:18 -08:00
Charles Schlosser
f7085a1096 replace using with typedef 2023-11-24 19:42:54 +00:00
Charles Schlosser
63291e34bf Update file GeneralMatrixVector.h
(cherry picked from commit 283dec7f25)
2023-11-24 19:07:33 +00:00
Charles Schlosser
23886fd7db Gemv microoptimization
(cherry picked from commit d1b03fb5c9)
2023-11-24 19:07:17 +00:00
Charles Schlosser
7c6020e424 Fix -Waggressive-loop-optimizations
(cherry picked from commit 4e9e493b4a)
2023-11-24 19:06:40 +00:00
arthurfeeney
2e3f1d8044 Fix implicit conversion warning in GEBP kernel's packing
(cherry picked from commit 937c3d73cb)
2023-11-18 18:17:21 +00:00
Antonio Sanchez
bae907b8f6 Update version to 3.4.1
Tests all pass: https://gitlab.com/libeigen/eigen_ci_cross_testing/-/pipelines/1060764169
2023-11-06 13:53:54 -08:00
Charles Schlosser
cf207eacd5 Patch SparseLU
(cherry picked from commit a8bab0d8ae)
2023-11-02 21:17:17 -07:00
Chip Kerchner
e734787bb7 Fix pre-POWER8_VECTOR bugs in pcmp_lt and pnegate and reactivate psqrt.
(cherry picked from commit 4a58f30aa0)
2023-10-25 15:19:37 -07:00
Antonio Sanchez
1217390db4 Fix windows+CUDA builds 2023-10-25 20:55:59 +00:00
Antonio Sanchez
7176ae1623 Make 3.4.1 compatible with c++03 2023-10-16 15:38:25 -07:00
Antonio Sánchez
0db5928f00 Eliminate use of _res.
(cherry picked from commit 5bdf58b8df)
2023-10-16 13:38:17 -07:00
Erik Schultheis
764b132a79 ensure that eigen::internal::size is not found by ADL, rename to ssize and...
(cherry picked from commit 9210e71fb3)
2023-08-24 12:42:34 -07:00
Charles Schlosser
208e44c979 fix warnings in tensorreduction and memory 2023-07-19 16:48:07 +00:00
Antonio Sánchez
17d57fb168 Fix up PowerPC MMA flags so it builds by default.
(cherry picked from commit 591906477b)
2023-07-11 16:27:32 -07:00
Antonio Sánchez
6973687c70 Fix up PowerPC MMA flags so it builds by default.
(cherry picked from commit 65eeedf964)
2023-07-11 16:20:57 -07:00
Antonio Sánchez
0f39c851a5 Fix use of arg function in CUDA.
(cherry picked from commit 63dcb429cd)
2023-07-10 15:30:41 -07:00
Kevin Leonardic
daa0b70a65 Fix argument for _mm256_cvtps_ph imm parameter
(cherry picked from commit d4b05454a7)
2023-07-10 15:30:41 -07:00
Antonio Sánchez
33ba98b641 Ensure EIGEN_HAS_ARM64_FP16_VECTOR_ARITHMETIC is always defined on arm.
(cherry picked from commit 31cd2ad371)
2023-07-10 15:30:41 -07:00
Antonio Sánchez
e6e921f0e3 Disable FP16 arithmetic for arm32.
(cherry picked from commit 7465b7651e)
2023-07-10 15:30:41 -07:00
Alexander Shaposhnikov
ebfdd6bdea Do not set EIGEN_HAS_ARM64_FP16_SCALAR_ARITHMETIC for cuda compilation
(cherry picked from commit 316eab8deb)
2023-07-10 15:30:41 -07:00
Rasmus Munk Larsen
9b3d104c02 Add missing braces in Umeyama.h
(cherry picked from commit 1321821e86)
2023-07-10 14:52:08 -07:00
Rasmus Munk Larsen
af3ca50f0b Work around compiler bug in Umeyama.h.
(cherry picked from commit 524c329ab2)
2023-07-10 14:52:08 -07:00
Charles Schlosser
385a0b38f8 JacobiSVD: set m_nonzeroSingularValues to zero if not finite
(cherry picked from commit fdc749de2a)
2023-07-10 14:52:08 -07:00
Antonio Sánchez
72b0759451 Fix arm builds.
(cherry picked from commit 2c8011c2dd)
2023-07-10 14:52:08 -07:00
Jonas Schulze
34d0d83278 Fix some typos
(cherry picked from commit 81cb6a51d0)
2023-07-10 14:52:08 -07:00
Antonio Sánchez
99473f255b Fix failing MSVC tests due to compiler bugs.
(cherry picked from commit 394aabb0a3)
2023-07-10 14:52:08 -07:00
Antonio Sánchez
2ce5dc428f Guard use of long double on GPU device.
(cherry picked from commit bc5cdc7a67)
2023-07-10 14:52:08 -07:00
Chip Kerchner
8f1b6198c2 Fix epsilon and dummy_precision values in long double for double doubles. Prevented some algorithms from converging on PPC.
(cherry picked from commit 54459214a1)
2023-07-10 14:52:08 -07:00
Antonio Sánchez
dae8c6d7ad Guard complex sqrt on old MSVC compilers.
(cherry picked from commit a16fb889dd)
2023-07-10 14:52:07 -07:00
Antonio Sánchez
2dfdaa2abf More NEON packetmath fixes.
(cherry picked from commit 384269937f)
2023-07-10 14:52:03 -07:00
Antonio Sánchez
a659b5dbb2 Fix NEON make_packet2f.
(cherry picked from commit 2dfbf1b251)
2023-07-10 14:34:09 -07:00
Antonio Sánchez
879854382c Fix MSVC arm build.
(cherry picked from commit 0a5392d606)
2023-07-10 14:34:09 -07:00