Arthur
68f35d76b8
Fix GeneralizedEigenSolver::info() and Asserts
...
(cherry picked from commit a7c1cac18b )
2023-07-07 15:21:18 -07:00
Matthew Sterrett
d0e2b3e58d
Removed unnecessary checks for FP16C
...
(cherry picked from commit 39fcc89798 )
2023-07-07 15:21:17 -07:00
Lexi Bromfield
33a602eb37
Don't double-define Half functions on aarch64
...
(cherry picked from commit 66ea0c09fd )
2023-07-07 15:21:17 -07:00
Rasmus Munk Larsen
a9490cd3c5
Fix code and unit test for a few corner cases in vectorized pow()
...
(cherry picked from commit 7a87ed1b6a )
2023-07-07 15:21:17 -07:00
Antonio Sánchez
61efca2e90
Use numext::sqrt in ConjugateGradient.
...
(cherry picked from commit 7896c7dc6b )
2023-07-07 15:21:17 -07:00
Alexander Richardson
a5469a6f0f
Avoid including <sstream> with EIGEN_NO_IO
...
(cherry picked from commit b7668c0371 )
2023-07-07 15:21:17 -07:00
Antonio Sánchez
6aaa45db5f
Include immintrin.h header for enscripten.
...
(cherry picked from commit 34780d8bd1 )
2023-07-07 15:21:17 -07:00
Antonio Sánchez
f55a112cb1
Fix ODR violations.
...
(cherry picked from commit bb51d9f4fa )
2023-07-07 15:21:17 -07:00
Antonio Sánchez
b9ac284e52
Use numext::sqrt in Householder.h.
...
(cherry picked from commit 0e083b172e )
2023-07-07 15:21:17 -07:00
Antonio Sanchez
848db4ed2d
Fix BDCSVD condition for failing with numerical issue.
...
(cherry picked from commit 481a4a8c31 )
2023-07-07 15:21:17 -07:00
Antonio Sánchez
af912a7b5c
Fix MSVC+CUDA issues.
...
(cherry picked from commit 5ed7a86ae9 )
2023-07-07 15:21:17 -07:00
Antonio Sánchez
8a21df2d9c
Disable f16c scalar conversions for MSVC.
...
(cherry picked from commit 73b2c13bf2 )
2023-07-07 15:21:12 -07:00
Antonio Sánchez
973b04f3e1
Fix AVX512 builds with MSVC.
...
(cherry picked from commit 9a14d91a99 )
2023-07-07 15:06:18 -07:00
Antonio Sánchez
16844d7529
Work around MSVC compiler bug dropping const.
...
(cherry picked from commit 3ca1228d45 )
2023-07-07 15:06:18 -07:00
Tobias Schlüter
5cb2dfec1d
Fix RowMajorBit <-> RowMajor mixup.
...
(cherry picked from commit 40eb34bc5d )
2023-07-07 15:06:18 -07:00
Arthur
fab848d4f7
Remove workarounds for bad GCC-4 warnings
...
(cherry picked from commit 514f90c9ff )
2023-07-07 15:06:18 -07:00
Antonio Sánchez
b6d9b6f48d
Remove duplicate IsRowMajor declaration.
...
(cherry picked from commit 0ae94456a0 )
2023-07-07 15:06:18 -07:00
Antonio Sanchez
f6954e4485
Fix enum conversion warnings in BooleanRedux.
...
(cherry picked from commit 55c7400db5 )
2023-07-07 11:51:10 -07:00
Yury Gitman
bd0d873b16
Fix any/all reduction in the case of row-major layout
...
(cherry picked from commit bf6726a0c6 )
2023-07-07 11:48:49 -07:00
Antonio Sánchez
e0fe006915
Fix mixingtypes for g++-11.
...
(cherry picked from commit 19c39bea29 )
2023-07-07 11:47:23 -07:00
Martin Heistermann
d1ed3fe5c9
Fix for crash bug in SPQRSupport: Initialize pointers to nullptr to avoid free() calls of invalid pointers.
...
(cherry picked from commit 550af3938c )
2023-07-07 11:44:55 -07:00
Antonio Sánchez
709d704819
Fix collision with resolve.h.
...
(cherry picked from commit 94bed2b80c )
2023-07-07 11:40:44 -07:00
Antonio Sánchez
995714142d
Restrict GCC<6.3 maxpd workaround to only gcc.
...
(cherry picked from commit 4bffbe84f9 )
2023-07-07 11:39:27 -07:00
Antonio Sánchez
730a781221
Define EIGEN_HAS_AVX512_MATH in PacketMath.
...
(cherry picked from commit e7f4a901ee )
2023-07-07 11:39:13 -07:00
Antonio Sánchez
77b2807322
Fix AVX512 math function consistency, enable for ICC.
...
(cherry picked from commit 96da541cba )
2023-07-07 11:37:49 -07:00
Antonio Sánchez
52e545324e
Fix ODR violations.
...
(cherry picked from commit cafeadffef )
2023-07-07 11:37:31 -07:00
Stephen Pierce
0cd4719f3e
Silence some MSVC warnings
...
(cherry picked from commit 81c928ba55 )
2023-07-07 11:30:40 -07:00
Erik Schultheis
770ed0794e
fix broken asserts
...
(cherry picked from commit 5a0a165c09 )
2023-07-07 11:25:03 -07:00
Antonio Sánchez
e7248b26a1
Prevent BDCSVD crash caused by index out of bounds.
...
(cherry picked from commit 028ab12586 )
2022-05-19 22:30:33 +00:00
Antonio Sánchez
34e5f34b39
Update warning suppression to latest.
2022-03-21 15:56:03 +00:00
Antonio Sánchez
4612627355
Revert "ensure that eigen::internal::size is not found by ADL, rename to ssize and..."
...
This reverts commit bd72e4a8c4
2022-01-18 16:08:59 +00:00
Antonio Sánchez
3e71c621c9
Revert "fix compilation issue with gcc < 10 and -std=c++2a"
...
This reverts commit b5d218d857
2022-01-18 16:08:37 +00:00
Jörg Buchwald
b5d218d857
fix compilation issue with gcc < 10 and -std=c++2a
...
(cherry picked from commit d1bf056394 )
2022-01-13 01:43:43 +00:00
Erik Schultheis
bd72e4a8c4
ensure that eigen::internal::size is not found by ADL, rename to ssize and...
...
(cherry picked from commit 9210e71fb3 )
2022-01-11 16:43:21 +00:00
David Tellenbach
3af8c262ac
Include immintrin.h if F16C is available and vectorization is disabled
...
If EIGEN_DONT_VECTORIZE is defined, immintrin.h is not included even if F16C is available. Trying to use F16C intrinsics thus fails.
This fixes issue #2395 .
(cherry picked from commit c06c3e52a0 )
2021-12-25 22:53:23 +01:00
Gengxin Xie
6f57470bcc
Bug Fix: correct the bug that won't define EIGEN_HAS_FP16_C
...
if the compiler isn't clang
(cherry picked from commit 5c642950a5 )
2021-11-04 22:54:01 +00:00
Lennart Steffen
df53e28179
Included note on inner stride for compile-time vectors. See https://gitlab.com/libeigen/eigen/-/issues/2355#note_711078126
...
(cherry picked from commit 163f11e24a )
2021-11-03 23:35:40 +00:00
Chip Kerchner
fbdaff81bd
Invert rows and depth in non-vectorized portion of packing (PowerPC).
...
(cherry picked from commit 9cf34ee0ae )
2021-11-03 23:34:47 +00:00
Alex Druinsky
b0fe14213e
Fix vectorized reductions for Eigen::half
...
Fixes compiler errors in expressions that look like
Eigen::Matrix<Eigen::half, 3, 1>::Random().maxCoeff()
The error comes from the code that creates the initial value for
vectorized reductions. The fix is to specify the scalar type of the
reduction's initial value.
The cahnge is necessary for Eigen::half because unlike other types,
Eigen::half scalars cannot be implicitly created from integers.
(cherry picked from commit d0e3791b1a )
2021-11-03 23:29:55 +00:00
Andreas Krebbel
23469c3cda
ZVector: Move alignas qualifier to come first
...
We currently have plenty of type definitions with the alignment
qualifier coming after the type. The compiler warns about ignoring
them:
int EIGEN_ALIGN16 ai[4];
Turn this into:
EIGEN_ALIGN16 int ai[4];
(cherry picked from commit 8faafc3aaa )
2021-11-03 23:29:10 +00:00
Antonio Sanchez
18824d10ea
Fix ZVector build.
...
Cross-compiled via `s390x-linux-gnu-g++`, run via qemu. This allows the
packetmath tests to pass.
(cherry picked from commit 40bbe8a4d0 )
2021-11-03 23:28:26 +00:00
Xinle Liu
9c193db5c7
Fix BDCSVD's total deflation in branch 3.4, similar to that of master in MR 707.
...
(cherry picked from commit 4d045eba53f9a32d052eb942448ba62def066529)
2021-11-03 17:58:57 +00:00
Antonio Sanchez
6b6ba41269
Fix min/max nan-propagation for scalar "other".
...
Copied input type from `EIGEN_MAKE_CWISE_BINARY_OP`.
Fixes #2362 .
(cherry picked from commit 03d4cbb307 )
2021-10-28 17:16:49 +00:00
Rasmus Munk Larsen
5d918b82a8
Add nan-propagation options to matrix and array plugins.
2021-10-21 13:48:50 -07:00
Antonio Sanchez
05c9d7ce20
Disable MSVC constant condition warning.
...
We use extensive use of `if (CONSTANT)`, and cannot use c++17's `if
constexpr`.
(cherry picked from commit 5bf35383e0 )
2021-10-11 10:00:29 -07:00
Antonio Sanchez
943ef50a2d
Disable testing of complex compound assignment operators for MSVC.
...
MSVC does not support specializing compound assignments for
`std::complex`, since it already specializes them (contrary to the
standard).
Trying to use one of these on device will currently lead to a
duplicate definition error. This is still probably preferable
to no error though. If we remove the definitions for MSVC, then
it will compile, but the kernel will fail silently.
The only proper solution would be to define our own custom `Complex`
type.
(cherry picked from commit f0f1d7938b )
2021-10-11 10:00:29 -07:00
Antonio Sanchez
7ea4adb5f0
Disable another device warning
...
(cherry picked from commit e9e90892fe )
2021-10-11 10:00:29 -07:00
Antonio Sanchez
71498b32c9
Disable more NVCC warnings.
...
The 2979 warning is yet another "calling a __host__ function from a
__host__ device__ function. Although we probably should eventually
address these, they are flooding the logs. Most of these are
harmless since we only call the original from the host.
In cases where these are actually called from device, an error is generated
instead anyways.
The 2977 warning is a bit strange - although the warning suggests the
`__device__` annotation is ignored, this doesn't actually seem to be
the case. Without the `__device__` declarations, the kernel actually
fails to run when attempting to construct such objects. Again,
these warnings are flooding the logs, so disabling for now.
(cherry picked from commit 86c0decc48 )
2021-10-11 10:00:29 -07:00
Alexander Grund
929bc0e191
Fix alias violation in BFloat16
...
reinterpret_cast between unrelated types is undefined behavior and leads
to misoptimizations on some platforms.
Use the safer (and faster) version via bit_cast
(cherry picked from commit b5eaa42695 )
2021-09-20 14:25:58 +00:00
Antonio Sanchez
f046e326d9
Fix strict aliasing bug causing product_small failure.
...
Packet loading is skipped due to aliasing violation, leading to nullopt matrix
multiplication.
Fixes #2327 .
(cherry picked from commit 3c724c44cf )
2021-09-19 18:06:17 +00:00