fix compilation error when host compiler is clang (#1147)

* fix compilation error when host compiler is clang

* use a macro specifically for hcc && hip-clang


[ROCm/clr commit: b2ffd6afc2]
Este cometimento está contido em:
Siu Chi Chan criou e Maneesh Gupta cometeu 2019-05-29 12:34:48 +05:30
1 ascendente c91a7f5ddc
cometimento 339a048377
1 ficheiro modificado
+1 -1
+1 -1
Ver ficheiro
@@ -34,7 +34,7 @@ THE SOFTWARE.
#include <utility>
#endif
#if defined(__clang__) && (__clang_major__ > 5)
#if __HCC_OR_HIP_CLANG__
typedef _Float16 _Float16_2 __attribute__((ext_vector_type(2)));
struct __half_raw {