Add missing alias half / half2 aliases

[ROCm/hip commit: 98395ad38c]
这个提交包含在:
Alex Voicu
2018-05-26 12:10:50 +01:00
提交者 GitHub
父节点 fa1952a008
当前提交 3eeb326c96
@@ -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)