From a1f39558603bee7a380c4c486fafdf18288fba28 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Tue, 21 Feb 2017 14:44:37 -0600 Subject: [PATCH] added typedef for half and half2 Change-Id: Ic844fa31b64a0354484b418df71869c2807200cc --- include/hip/hcc_detail/hip_fp16.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hip/hcc_detail/hip_fp16.h b/include/hip/hcc_detail/hip_fp16.h index 2c7c23440c..b28f92d451 100644 --- a/include/hip/hcc_detail/hip_fp16.h +++ b/include/hip/hcc_detail/hip_fp16.h @@ -36,6 +36,9 @@ typedef struct __attribute__((aligned(4))){ }; } __half2; +typedef __half half; +typedef __half2 half2; + /* Half Arithmetic Functions */