[Beignet] [PATCH] GBE: disable cl_khr_fp64.

Zhigang Gong zhigang.gong at linux.intel.com
Wed Aug 21 02:19:00 PDT 2013


As the double support is incomplete currently, we disable it.

Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
 src/cl_extensions.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cl_extensions.c b/src/cl_extensions.c
index 1ff81c1..335278d 100644
--- a/src/cl_extensions.c
+++ b/src/cl_extensions.c
@@ -26,6 +26,7 @@ void check_basic_extension(cl_extensions_t *extensions)
 {
   int id;
   for(id = BASE_EXT_START_ID; id <= BASE_EXT_END_ID; id++)
+    if (id != EXT_ID(khr_fp64))
       extensions->extensions[id].base.ext_enabled = 1;
 }
 
-- 
1.7.9.5



More information about the Beignet mailing list