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

Este cometimento está contido em:
Yaxun (Sam) Liu criou e Maneesh Gupta cometeu 2019-09-30 10:40:42 +05:30
1 ascendente ff1b23b558
cometimento 7b3b82bd0d
2 ficheiros modificados
+6

Não existem ficheiros que correspondam à sua pesquisa

+1
Ver ficheiro
@@ -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__