| commit | 8cfe0db108f54e4ceae2e94c47c5d2eb5116197b | [log] [tgz] |
|---|---|---|
| author | Antonio Sanchez <cantonios@google.com> | Mon Dec 07 19:11:07 2020 -0800 |
| committer | Rasmus Munk Larsen <rmlarsen@google.com> | Tue Dec 08 20:31:02 2020 +0000 |
| tree | b568be6551dca471996fa5864ee6615b620a7052 | |
| parent | baf9d762b70b030f797ab4c8e5e6ecebf5095122 [diff] |
Fix host/device calls for __half. The previous code had `__host__ __device__` functions calling `__device__` functions (e.g. `__low2half`) which caused build failures in tensorflow. Also tried to simplify the `#ifdef` guards to make them more clear.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.
For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.