Antonio Sanchez
5e8edd2186
Fix undefined behavior in PPC load.
...
VSX vec_xl is Causing a bunch of test failures and failing `-fsanitize=undefined` with g++.
Removing the instruction allows tests to pass and eliminates the warning.
2025-03-14 07:58:36 -07:00
Antonio Sanchez
0ac1fc52dd
Fix CUDA clang again with new C++11 usages
2025-03-14 07:58:29 -07:00
Antonio Sanchez
3b8644da50
Better rand to fix MSVC random tests
2025-03-13 08:50:26 -07:00
Antonio Sanchez
414c42bfcf
Fix cuda clang builds
2025-03-12 21:47:26 -07:00
Antonio Sanchez
952eda443b
Fix GPU build failures.
2025-03-09 17:04:41 -07:00
Chip Kerchner
6a4a0b66bd
Fix epsilon and dummy_precision values in long double for double doubles. Prevented some algorithms from converging on PPC.
...
(cherry picked from commit 54459214a1 )
2025-03-07 21:19:41 -08:00
Antonio Sanchez
ce950ca2db
Patch PPC PacketMath from 3.4.
...
This is to fix failing tests for PPC due to UB on loads.
2025-03-07 20:59:30 -08:00
Charles Schlosser
5b20d9f326
Fix arm32 float division and related bugs
...
(cherry picked from commit 81b48065ea )
(cherry picked from commit 72f77ccb3e )
2025-03-03 13:11:37 -08:00
Antonio Sánchez
dc9325848a
Fix arm32 issues.
...
(cherry picked from commit a73970a864 )
(cherry picked from commit c23abcf25c )
2025-03-03 07:38:59 -08:00
Antonio Sanchez
d2ce4faa5a
Fix cuda 9+ builds
...
Fix removed `shfl_` intrinsics, disable warnings, update CUDA header inclusion.
2025-03-02 16:21:48 -08:00
Antonio Sanchez
23b1682723
Fix cuda device warnings
2025-02-28 22:09:30 -08:00
Antonio Sanchez
c53002f5fb
Fix failing tests on arm/ppc
2025-02-28 13:15:33 -08:00
Antonio Sanchez
ea37d9e73e
Remove private access of std::deque::_M_impl.
...
This no longer works on gcc or clang, so we should just remove the hack.
The default should compile to similar code anyways.
(cherry picked from commit 82c0c18a83 )
2025-02-28 11:21:13 -08:00
Antonio Sanchez
339d7188ed
Fix up all doxygen warnings.
2025-02-25 21:05:40 -08:00
Antonio Sánchez
d45ac54008
Correct use of EIGEN_CUDACC to respect EIGEN_NO_CUDA.
2022-02-04 22:24:31 +00:00
Jakob Struye
d9585478d9
Clearer doc for squaredNorm
...
(cherry picked from commit 53a29c7e35 )
2021-08-18 15:13:11 +00:00
Benoit Steiner
01421e31a2
Added missing EIGEN_DEVICE_FUNC qualifiers
...
(cherry picked from commit c36bc2d445 )
2021-07-20 21:21:53 +00:00
René Wagner
2f81b6363f
BooleanRedux.h: Add more EIGEN_DEVICE_FUNC qualifiers.
...
This enables operator== on Eigen matrices in device code.
(cherry picked from commit 0aebe19aca )
2021-07-20 21:20:54 +00:00
Adam Shapiro
53a7864c48
Fixed sparse conservativeResize() when both num cols and rows decreased.
...
The previous implementation caused a buffer overflow trying to calculate non-
zero counts for columns that no longer exist.
(cherry picked from commit 2ac0b78739 )
(cherry picked from commit f4b67691c42952b44ce7dae62f5c18ed93b53521)
2021-02-23 21:35:46 +00:00
Gael Guennebaud
9fc3d9f3ca
Fix some implicit literal to Scalar conversions in SparseCore
...
(cherry picked from commit afa8d13532 )
2021-02-19 18:54:23 +00:00
Antonio Sanchez
84911f9c05
Include <cstdint> in one place, remove custom typedefs
...
Originating from
[this SO issue](https://stackoverflow.com/questions/65901014/how-to-solve-this-all-error-2-in-this-case ),
some win32 compilers define `__int32` as a `long`, but MinGW defines
`std::int32_t` as an `int`, leading to a type conflict.
To avoid this, we remove the custom `typedef` definitions for win32. The
Tensor module requires C++11 anyways, so we are guaranteed to have
included `<cstdint>` already in `Eigen/Core`.
Also re-arranged the headers to only include `<cstdint>` in one place to
avoid this type of error again.
2021-01-28 11:10:13 -08:00
Rasmus Munk Larsen
77dc6dbb44
Fix bugs in log1p and expm1 where repeated using statements would clobber each other.
...
Add specializations for complex types since std::log1p and std::exp1m do not support complex.
(cherry picked from commit d55d392e7b )
2021-01-21 11:22:36 +01:00
David Tellenbach
a36d19c4fc
Fix a typo in SparseMatrix documentation.
...
This fixes issue #2091 .
(cherry picked from commit 2e8f850c78 )
2020-12-09 14:53:09 +01:00
David Tellenbach
0fd6b4f71d
Bump to 3.3.9
2020-12-04 22:53:41 +01:00
Christoph Hertzberg
2a4fcb2c31
Fix doxygen class block that was wrongly named.
...
Manually cherry-picked from a7170f2aca
2020-11-27 19:41:19 +01:00
Christoph Hertzberg
ac632f663e
bug #1746 : Removed implementation of standard copy-constructor and standard copy-assign-operator from PermutationMatrix and Transpositions to allow malloc-less std::move. Added unit-test to rvalue_types
...
(cherry picked from commit efd9867ff0 )
2020-11-12 11:54:51 +01:00
Luke Peterson
ef3cc72cb6
Remove error counting in OpenMP parallelize_gemm
...
This resolves a compilation error associated with
Eigen::eigen_assert_exception. It also eliminates the counting of
exceptions that may occur in the OpenMP parallel section. If an
unhandled exception occurs in this section, the behavior is non-conforming
according to the OpenMP specification.
2020-10-08 18:50:33 -07:00
David Tellenbach
7a0a2a5001
Define coeff-wise binary array operators for base class
...
This fixes #2012 .
2020-10-09 00:53:34 +02:00
szczepaniak bartek
bfdd4a9903
Fix Paradiso.
...
EIGEN_USING_STD -> EIGEN_USING_STD_MATH
2020-10-08 19:38:35 +00:00
David Tellenbach
dc252fbf00
Bump to 3.3.8
2020-10-05 13:24:15 +02:00
David Tellenbach
9f202c6f1e
Fix undefined behaviour caused by uncaught exceptions in OMP section
...
An OpenMP parallel section must have a single entry and a single point
of exit. Leaving such a section by throwing an exception is undefined.
This patch fixes this by catching possible exceptions on the parallel
section and throwing right we left it.
2020-10-02 00:41:01 +02:00
David Tellenbach
b933946d63
Fix failure in GEBP kernel when compiling with OpenMP and FMA
...
Fixes #1995
(cherry picked from commit 30960d485e )
2020-09-30 16:17:33 +02:00
David Tellenbach
76f0650563
Bump to 3.3.8-rc1
2020-09-14 13:43:55 +02:00
nluehr
4707c3aa86
Fix incorrect integer cast in predux<half2>().
...
Bug corrupts results on Maxwell and earlier GPU architectures.
(cherry picked from commit dd6de618c3 )
2020-09-04 19:12:05 +02:00
Gael Guennebaud
89a86ed422
fix #1901 : warning in Mode==(Upper|Lower)
2020-09-02 15:44:51 +02:00
Tobias Bosch
f55a6d051b
Include <sstream> explicitly, and don't rely on the implicit include via <complex>.
...
This implicit dependency does no longer exist in a recent llbm release (sha 78be61871704).
2020-09-02 11:02:18 +02:00
David Tellenbach
abb5d04c3a
Fix StlDeque for GCC 10
...
StlDeque extends std::deque by accessing some of its internal members.
Since GCC 10 these are not accessible anymore.
(cherry picked from commit 5e484fa11d )
2020-08-31 00:20:10 +02:00
Gael Guennebaud
94f66fc32e
Fix #1974 : assertion when reserving an empty sparse matrix
2020-08-26 12:35:42 +02:00
Gael Guennebaud
efd72cddcd
Backport AVX512 implementation from devel branch to 3.3 (the 3.3 version had many issues)
2020-08-26 12:34:20 +02:00
Gael Guennebaud
def70b2e37
Fix compilation with AVX512 and AVX/SSE packet-math functions
2020-08-25 17:05:17 +02:00
Gael Guennebaud
e5b35d64f7
Fix compilation with AVX512
2020-08-25 12:25:58 +02:00
Rasmus Munk Larsen
02ef38020b
Fix incorrect use of std::abs reported in #1823 .
2020-08-11 17:54:22 -07:00
Janek Kozicki
0dd9643ad5
Fix Yade high precision Real compilation
2020-03-23 18:24:49 +00:00
Christoph Hertzberg
14db78c53b
Fix some maybe-uninitialized warnings
...
Cherry-picked from 72166d0e6e and 6965f6de7f
2020-02-28 19:32:10 +01:00
Christoph Hertzberg
84364ad11d
Bug #1788 : Fix rule-of-three violations inside the stable modules.
...
This fixes deprecated-copy warnings when compiling with GCC>=9
Also protect some additional Base-constructors from getting called by user code code (#1587 )
Cherry-picked from 870e53c0
2020-02-28 19:04:33 +01:00
Eugene Zhulenev
160c0a3404
Change typedefs from private to protected to fix MSVC compilation
2020-02-18 10:55:02 +01:00
Gael Guennebaud
5f1082d0b1
Fix QuaternionBase::cast for quaternion map and wrapper.
...
(grafted from 6358599ecb
)
2019-12-03 14:51:14 +01:00
Gael Guennebaud
1039348f12
backport is_valid_index_type fix from default branch and c++03
2019-11-22 13:49:17 +01:00
Gael Guennebaud
3d7e2a1f3d
Fix possible conflict with an externally defined "real" type.
...
This issue was detected by gcc5 only.
2019-11-14 13:31:26 +01:00
Greg Coombe
3d18879fc4
Initialize isometric transforms like affine transforms.
...
The isometric transform, like the affine transform, has an implicit last
row of [0, 0, 0, 1]. This was not being properly initialized, as verified
by a new test function.
(grafted from 9d988a1e1a
)
2019-01-11 23:14:35 -08:00