Merge branch 'feature_use_Float16' of https://github.com/ROCm-Developer-Tools/HIP into feature_use_Float16

Цей коміт міститься в:
Alex Voicu
2018-05-31 15:27:31 +01:00
джерело 208f5a41c6 0f4a135e5f
коміт e20380319a
+7 -2
Переглянути файл
@@ -248,5 +248,10 @@ struct __half2_raw {
{
return __internal_half2float(static_cast<__half2_raw>(x).y);
}
}
#endif // defined(__cplusplus)
} // Anonymous namespace.
#if !defined(HIP_NO_HALF)
using half = __half;
using half2 = __half2;
#endif
#endif // defined(__cplusplus)