fixed vector type issues by reverting to old code, changed __half2 to map to vector types in llvm

Change-Id: I7317408c25e8c1a0c02a346042c9137e160c8bbd


[ROCm/hip commit: bdc08fcf10]
This commit is contained in:
Aditya Atluri
2017-05-18 10:50:56 -05:00
parent 324dfb870f
commit 721cb0f7db
2 changed files with 3978 additions and 65 deletions
@@ -25,8 +25,9 @@ THE SOFTWARE.
#include "hip/hcc_detail/hip_vector_types.h"
typedef __half half;
typedef __half2 half2;
typedef __fp16 __half;
typedef __fp16 __half1 __attribute__((ext_vector_type(1)));
typedef __fp16 __half2 __attribute__((ext_vector_type(2)));
/*
Half Arithmetic Functions
File diff suppressed because it is too large Load Diff