Replace __float2half_rn with __float2half The latter provides a consistent definition for CUDA 8.0 and 9.0.
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/.