[Beignet] [PATCH] Enable int32 atomic extensions.
Xing, Homer
homer.xing at intel.com
Thu Jun 27 19:52:12 PDT 2013
Reviewed. This patch looks good to me.
-----Original Message-----
From: beignet-bounces+homer.xing=intel.com at lists.freedesktop.org [mailto:beignet-bounces+homer.xing=intel.com at lists.freedesktop.org] On Behalf Of Yang Rong
Sent: Friday, June 28, 2013 10:50 AM
To: beignet at lists.freedesktop.org
Cc: Yang, Rong R
Subject: [Beignet] [PATCH] Enable int32 atomic extensions.
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
_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list