Fixed contractions of fp16

This commit is contained in:
Benoit Steiner
2016-03-23 16:00:06 -07:00
parent 7168afde5e
commit 7a570e50ef
2 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ static inline EIGEN_DEVICE_FUNC float half_to_float(__half h);
// Class definition.
struct half : public __half {
EIGEN_DEVICE_FUNC half() : __half(internal::raw_uint16_to_half(0)) {}
EIGEN_DEVICE_FUNC half() {}
EIGEN_DEVICE_FUNC half(const __half& h) : __half(h) {}
EIGEN_DEVICE_FUNC half(const half& h) : __half(h) {}