Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix tensor casts for large packets and casts to/from std::complex | 2020-06-30 | |
| | | | | | | | | | | | | | The original tensor casts were only defined for `SrcCoeffRatio`:`TgtCoeffRatio` 1:1, 1:2, 2:1, 4:1. Here we add the missing 1:N and 8:1. We also add casting `Eigen::half` to/from `std::complex<T>`, which was missing to make it consistent with `Eigen:bfloat16`, and generalize the overload to work for any complex type. Tests were added to `basicstuff`, `packetmath`, and `cxx11_tensor_casts` to test all cast configurations. | ||
* | Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵ | 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 | ||
* | Made 2 tests compile without cxx11. | 2015-12-10 | |
| | | | | HdG: -- | ||
* | Switch to truncated casting when converting floating point types to integer. ↵ | 2015-02-27 | |
| | | | | This ensures that vectorized casts are consistent with scalar casts | ||
* | Added support for vectorized type casting of tensors | 2015-02-27 | |
| | |||
* | Created a test for tensor type casting | 2015-01-14 | |