Fix cast of __half for HIP-clang (#1475)

此提交包含在:
Yaxun (Sam) Liu authored and Maneesh Gupta committed 2019-09-30 10:40:42 +05:30
1 父節點 4b413739a9
當前提交 56193a7828
2 file changed
+6

No files matched your search

+1
查看文件
@@ -223,6 +223,7 @@ THE SOFTWARE.
Enable_if_t<
std::is_floating_point<T>{} &&
!std::is_same<T, double>{}>* = nullptr>
__host__ __device__
operator T() const { return data; }
#endif
__host__ __device__