<div dir="ltr"><div><div>Do we have a reason to do this expansion to float8/float16 types?<br><br></div>The CL 1.2 and 2.0  specs say that all of the geometric functions operate on float, float2, float3, and float4 data types (and the double equivalents), but make no mention of float8/float16 being supported (which seems a bit silly given that almost everything else supports 8/16 element vectors if they support them at all).<br><br></div>--Aaron<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 2:15 PM, Tom Stellard <span dir="ltr"><<a href="mailto:thomas.stellard@amd.com" target="_blank">thomas.stellard@amd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
 generic/include/clc/geometric/floatn.inc | 16 ++++++++++++++++<br>
 1 file changed, 16 insertions(+)<br>
<br>
diff --git a/generic/include/clc/geometric/floatn.inc b/generic/include/clc/geometric/floatn.inc<br>
index fb7a9ae..b683b85 100644<br>
--- a/generic/include/clc/geometric/floatn.inc<br>
+++ b/generic/include/clc/geometric/floatn.inc<br>
@@ -16,6 +16,14 @@<br>
 #include __CLC_BODY<br>
 #undef __CLC_FLOATN<br>
<br>
+#define __CLC_FLOATN float8<br>
+#include __CLC_BODY<br>
+#undef __CLC_FLOATN<br>
+<br>
+#define __CLC_FLOATN float16<br>
+#include __CLC_BODY<br>
+#undef __CLC_FLOATN<br>
+<br>
 #undef __CLC_FLOAT<br>
<br>
 #ifdef cl_khr_fp64<br>
@@ -38,6 +46,14 @@<br>
 #include __CLC_BODY<br>
 #undef __CLC_FLOATN<br>
<br>
+#define __CLC_FLOATN double8<br>
+#include __CLC_BODY<br>
+#undef __CLC_FLOATN<br>
+<br>
+#define __CLC_FLOATN double16<br>
+#include __CLC_BODY<br>
+#undef __CLC_FLOATN<br>
+<br>
 #undef __CLC_FLOAT<br>
<br>
 #endif<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.0.4<br>
<br>
<br>
_______________________________________________<br>
Libclc-dev mailing list<br>
<a href="mailto:Libclc-dev@pcc.me.uk">Libclc-dev@pcc.me.uk</a><br>
<a href="http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev" target="_blank">http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev</a><br>
</font></span></blockquote></div><br></div>