[Libclc-dev] [PATCH 1/3] geometric/floatn.inc: Add vec8 and vec16 types

Jan Vesely via Libclc-dev libclc-dev at lists.llvm.org
Fri Jul 22 11:34:05 PDT 2016


From: Tom Stellard <thomas.stellard at amd.com>

---
 generic/include/clc/geometric/floatn.inc | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/generic/include/clc/geometric/floatn.inc b/generic/include/clc/geometric/floatn.inc
index fe5fba6..c276b81 100644
--- a/generic/include/clc/geometric/floatn.inc
+++ b/generic/include/clc/geometric/floatn.inc
@@ -19,6 +19,14 @@
 #include __CLC_BODY
 #undef __CLC_FLOATN
 
+#define __CLC_FLOATN float8
+#include __CLC_BODY
+#undef __CLC_FLOATN
+
+#define __CLC_FLOATN float16
+#include __CLC_BODY
+#undef __CLC_FLOATN
+
 #undef __CLC_FLOAT
 #undef __CLC_FPSIZE
 
@@ -46,6 +54,14 @@
 #include __CLC_BODY
 #undef __CLC_FLOATN
 
+#define __CLC_FLOATN double8
+#include __CLC_BODY
+#undef __CLC_FLOATN
+
+#define __CLC_FLOATN double16
+#include __CLC_BODY
+#undef __CLC_FLOATN
+
 #undef __CLC_FLOAT
 #undef __CLC_FPSIZE
 
-- 
2.7.4



More information about the Libclc-dev mailing list