Merge pull request #672 from iotamudelta/fp16_fix

Only LLVM6 and higher contain the necessary intrinsics.

[ROCm/clr commit: d44f7401f0]
Этот коммит содержится в:
Maneesh Gupta
2018-09-18 08:43:33 +05:30
коммит произвёл GitHub
родитель d7c37a2743 1d0e3c3ece
Коммит 814ac65527
+1 -1
Просмотреть файл
@@ -29,7 +29,7 @@ THE SOFTWARE.
#include <utility>
#endif
#if defined(__clang__) && (__clang_major__ > 3)
#if defined(__clang__) && (__clang_major__ > 5)
typedef _Float16 _Float16_2 __attribute__((ext_vector_type(2)));
struct __half_raw {