Files
eigen/Eigen/src
Antonio Sanchez db5691ff2b Fix some CUDA warnings.
Added `EIGEN_HAS_STD_HASH` macro, checking for C++11 support and not
running on GPU.

`std::hash<float>` is not a device function, so cannot be used by
`std::hash<bfloat16>`.  Removed `EIGEN_DEVICE_FUNC` and only
define if `EIGEN_HAS_STD_HASH`. Same for `half`.

Added `EIGEN_CUDA_HAS_FP16_ARITHMETIC` to improve readability,
eliminate warnings about `EIGEN_CUDA_ARCH` not being defined.

Replaced a couple C-style casts with `reinterpret_cast` for aligned
loading of `half*` to `half2*`. This eliminates `-Wcast-align`
warnings in clang.  Although not ideal due to potential type aliasing,
this is how CUDA handles these conversions internally.
2021-02-24 00:16:31 +00:00
..
2021-02-24 00:16:31 +00:00
2018-09-18 04:15:01 -04:00
2018-03-11 10:01:44 -04:00
2020-11-18 07:58:33 -08:00
2017-03-07 11:25:58 +01:00
2019-09-03 00:50:51 +02:00
2020-12-04 21:45:09 +00:00
2021-02-08 12:56:23 -08:00