eigen/Eigen/src/Core/util
Antonio Sanchez 78ee3d6261 Fix CUDA constexpr issues for numeric_limits.
Some CUDA/HIP constants fail on device with `constexpr` since they
internally rely on non-constexpr functions, e.g.
```
\#define CUDART_INF_F            __int_as_float(0x7f800000)
```
This fails for cuda-clang (though passes with nvcc). These constants are
currently used by `device::numeric_limits`.  For portability, we
need to remove `constexpr` from the affected functions.

For C++11 or higher, we should be able to rely on the `std::numeric_limits`
versions anyways, since the methods themselves are now `constexpr`, so
should be supported on device (clang/hipcc natively, nvcc with
`--expr-relaxed-constexpr`).
2021-03-30 18:01:27 +00:00
..
BlasUtil.h Eliminate boolean product warnings by factoring out a 2021-01-05 18:15:30 +00:00
ConfigureVectorization.h Add support for Arm SVE 2021-01-21 21:11:57 +00:00
Constants.h Add support for Arm SVE 2021-01-21 21:11:57 +00:00
DisableStupidWarnings.h clang 10 aggressively warns about precision loss when converting int to float (or long to double) 2021-02-27 18:44:26 +01:00
ForwardDeclarations.h Don't make assumptions about NaN-propagation for pmin/pmax - it various across platforms. 2020-10-07 19:05:18 +00:00
IndexedViewHelper.h Revert "Revert "Adds EIGEN_CONSTEXPR and EIGEN_NOEXCEPT to rows(), cols(), innerStride(), outerStride(), and size()"" 2021-03-24 18:14:56 +00:00
IntegralConstant.h Revert "Revert "Adds EIGEN_CONSTEXPR and EIGEN_NOEXCEPT to rows(), cols(), innerStride(), outerStride(), and size()"" 2021-03-24 18:14:56 +00:00
Macros.h Fix CUDA constexpr issues for numeric_limits. 2021-03-30 18:01:27 +00:00
Memory.h Fix CUDA device new and delete, and add test. 2021-02-24 11:31:41 -08:00
Meta.h Fix CUDA constexpr issues for numeric_limits. 2021-03-30 18:01:27 +00:00
MKL_support.h Add EIGEN_MKL_NO_DIRECT_CALL option 2017-11-09 11:07:45 +01:00
NonMPL2.h Add a EIGEN_MPL2_ONLY build option to generate compiler errors when including non-MPL2 modules 2012-07-13 14:42:47 -04:00
ReenableStupidWarnings.h oops, I've been too fast in previous copy/paste 2018-09-27 09:28:57 +02:00
ReshapedHelper.h Fix code format 2018-11-02 14:51:35 -07:00
StaticAssert.h Define EIGEN_CPLUSPLUS and replace most __cplusplus checks. 2021-03-05 18:33:18 +00:00
SymbolicIndex.h Revert "Revert "Adds EIGEN_CONSTEXPR and EIGEN_NOEXCEPT to rows(), cols(), innerStride(), outerStride(), and size()"" 2021-03-24 18:14:56 +00:00
XprHelper.h Revert "Revert "Adds EIGEN_CONSTEXPR and EIGEN_NOEXCEPT to rows(), cols(), innerStride(), outerStride(), and size()"" 2021-03-24 18:14:56 +00:00