11677 Commits

Author SHA1 Message Date
C. Antonio Sanchez
57c8d7c93f Fix failing builds and update CI on push.
Specifically:
- Fixed ctz on 32-bit arm (where `uint64_t` is `unsigned long long`)
- Fixed build of random_cpp11 snippet when C++11 is disabled
- Updated CI scripts to run windows on push, and added a no-c++11 test
2025-02-17 07:20:12 -08:00
C. Antonio Sanchez
ab92609cad Add missing ci scripts 2025-02-16 15:06:16 -08:00
C. Antonio Sanchez
551e95a409 Run pipelines on push 2025-02-16 14:50:58 -08:00
C. Antonio Sanchez
2924f58188 Remove deprecated check in meta test 2025-02-16 14:42:15 -08:00
C. Antonio Sanchez
f1922b6dac Update cmake configuration from master 2025-02-16 14:41:46 -08:00
C. Antonio Sanchez
052d91349a Split bdcsvd tests 2025-02-16 14:41:42 -08:00
Antonio Sánchez
72e38684c1 Disable deprecated warnings for SVD tests on MSVC.
(cherry picked from commit d58e62913081d3667605fd3fa9d525d4e378dd00)
2025-02-16 14:41:34 -08:00
Antonio Sánchez
bb1dbb4df6 Disable deprecated warnings in SVD tests.
(cherry picked from commit f0b81fefb7247b3fae48407d7a18614189d5996a)
2025-02-16 14:41:32 -08:00
C. Antonio Sanchez
0a5abc042e Copy CI configuration from master
(minus loongarch)
2025-02-16 08:00:49 -08:00
C. Antonio Sanchez
42d9cc0b1d Fix Tensor docs 2025-02-15 22:46:57 -08:00
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 9e0afe0f02173042ea03c10a6f896632fe84c6ff)
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 4a58f30aa083d2f5753465a36730ca7734b483be)
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 4d05765345e7e4a984d600039f797e2fede924f3)
2025-02-11 20:55:29 -08:00
Morris Hafner
e67c494cba Use old syntax for CMake's separate_arguments() to restore compatiblity with old CMake versions. 2024-11-13 17:01:13 +00: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
7893285e59 Fix tridiagonalize snippet for 3.4.
Fixes #2770.
2024-03-12 22:04:46 -07: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 0f0c76dc2985fc6722406ccdf7488359f6f23400)
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 bbfc4d54cd863676b3ae874e25dbe150fb6d575c)
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 9312a5bf5cd72f45558f402077b0c95683ee0fea)
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 2c4541f735d3dad2ce312bf785c366668d646f3b)
2023-12-14 13:38:18 -08:00
Antonio Sánchez
b8f894947a Add internal ctz/clz implementation.
(cherry picked from commit 75e273afcc86c4580aae12fb4e6e68c252cc2af0)
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 283dec7f257d463ff66d688cda17f78118eb3caa)
2023-11-24 19:07:33 +00:00
Charles Schlosser
23886fd7db Gemv microoptimization
(cherry picked from commit d1b03fb5c91dcf0e48555bba8387201a0b1425d9)
2023-11-24 19:07:17 +00:00
Charles Schlosser
7c6020e424 Fix -Waggressive-loop-optimizations
(cherry picked from commit 4e9e493b4abc57dba377fc326082b40d08193619)
2023-11-24 19:06:40 +00:00
arthurfeeney
2e3f1d8044 Fix implicit conversion warning in GEBP kernel's packing
(cherry picked from commit 937c3d73cbf55b6edc658decf7931b90ede1daef)
2023-11-18 18:17:21 +00:00
Silvio Traversaro
fc5575264f Backport "disambiguate overloads for empty index list" to 3.4 branch 2023-11-10 04:03:11 +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 a8bab0d8ae0601392287526840ddcb1af3bb85a6)
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 4a58f30aa083d2f5753465a36730ca7734b483be)
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 5bdf58b8df31b0377bc5f57ba63d8479793b7bae)
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 9210e71fb378a0f1542272506dc2759b6c147237)
2023-08-24 12:42:34 -07:00
Fabian Keßler
d0bfdc1658 optimize cmake scripts for subproject use
(cherry picked from commit 19cacd3ecb9dab73c2dd7bc39d9193e06ba92bdd)
2023-07-26 12:01:28 -07:00
Antonio Sánchez
75ebef26b6 Adds new CMake Options for controlling build components.
(cherry picked from commit cf82186416d04ea5df2a397d8fe09dc78d40ca65)
2023-07-26 11:52:47 -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 591906477bc8c8102dbefceefe10d81648865394)
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 65eeedf9646ee6efc457cc3a8f8d9030a6f83689)
2023-07-11 16:20:57 -07:00
Antonio Sanchez
ac561cd038 Reduce tensor_contract_gpu test.
The original test times out after 60 minutes on Windows, even when
setting flags to optimize for speed.  Reducing the number of
contractions performed from 3600->27 for subtests 8,9 allow the
two to run in just over a minute each.

(cherry picked from commit be9e7d205f38e3e8effdfdded88817b371673930)
2023-07-11 11:27:31 -07:00
Antonio Sanchez
554982beef Disable Tree reduction for GPU.
For moderately sized inputs, running the Tree reduction quickly
fills/overflows the GPU thread stack space, leading to memory errors.
This was happening in the `cxx11_tensor_complex_gpu` test, for example.
Disabling tree reduction on GPU fixes this.

(cherry picked from commit 24ebb37f38287d65c0e0b60c714e39faffeb5b94)
2023-07-10 16:09:30 -07:00