summaryrefslogtreecommitdiff
path: root/src/cl_extensions.c
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@linux.intel.com>2013-08-21 17:18:04 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-08-22 11:38:30 +0800
commit6e4e01b7a0e15f454e0b5d05887cc2870be7f5a7 (patch)
treeadcf1c30650a45faa1bca5da149ea73c380d42dd /src/cl_extensions.c
parentdd641098a8d4173f99141740806ab9a52a7dd810 (diff)
GBE: disable cl_khr_fp64.
As the double support is incomplete currently, we disable it. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com> Reviewed-by: He Junyan <junyan.he@inbox.com>
Diffstat (limited to 'src/cl_extensions.c')
-rw-r--r--src/cl_extensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_extensions.c b/src/cl_extensions.c
index 1ff81c13..335278d6 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;
}