Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add bit_cast for half/bfloat to/from uint16_t, fix TensorRandom | Antonio Sanchez | 2020-11-18 |
| | | | | | | | | | | The existing `TensorRandom.h` implementation makes the assumption that `half` (`bfloat16`) has a `uint16_t` member `x` (`value`), which is not always true. This currently fails on arm64, where `x` has type `__fp16`. Added `bit_cast` specializations to allow casting to/from `uint16_t` for both `half` and `bfloat16`. Also added tests in `half_float`, `bfloat16_float`, and `cxx11_tensor_random` to catch these errors in the future. | ||
* | Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵ | Gael Guennebaud | 2018-07-17 |
| | | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc | ||
* | Fixed syntax error | Benoit Steiner | 2016-03-04 |
| | |||
* | Many files were missing in previous changeset. | Gael Guennebaud | 2015-07-29 |
| | |||
* | Silenced some compilation warnings | Benoit Steiner | 2015-02-28 |
| | |||
* | Improved the performance of tensor reductions | Benoit Steiner | 2015-01-14 |
Added the ability to generate random numbers following a normal distribution Created a test to validate the ability to generate random numbers. |