[Beignet] [PATCH] Enable int32 atomic extensions.
Yang Rong
rong.r.yang at intel.com
Thu Jun 27 19:50:18 PDT 2013
Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
src/cl_extensions.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cl_extensions.c b/src/cl_extensions.c
index 052b589..6558bfc 100644
--- a/src/cl_extensions.c
+++ b/src/cl_extensions.c
@@ -26,8 +26,8 @@ void check_basic_extension(cl_extensions_t *extensions)
{
int id;
for(id = BASE_EXT_START_ID; id <= BASE_EXT_END_ID; id++)
- //It seems we only support this mandatory extension.
- if (id == EXT_ID(khr_byte_addressable_store))
+ //Support baisc extension except fp64.
+ if (id != EXT_ID(khr_fp64))
extensions->extensions[id].base.ext_enabled = 1;
}
--
1.7.10.4
More information about the Beignet
mailing list