From a89ef494545ae0c26abd534a0959212fa402f880 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 [ROCm/hip commit: a1f39558603bee7a380c4c486fafdf18288fba28] --- projects/hip/include/hip/hcc_detail/hip_fp16.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/hip/include/hip/hcc_detail/hip_fp16.h b/projects/hip/include/hip/hcc_detail/hip_fp16.h index 2c7c23440c..b28f92d451 100644 --- a/projects/hip/include/hip/hcc_detail/hip_fp16.h +++ b/projects/hip/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 */