[Beignet] [PATCH] Add cl_khr_3d_image_writes into info string.

yan.wang at linux.intel.com yan.wang at linux.intel.com
Fri Jun 3 05:38:26 UTC 2016


From: Yan Wang <yan.wang at linux.intel.com>

The extension is supported in fact and avoid misunderstanding.
---
 src/cl_extensions.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/cl_extensions.c b/src/cl_extensions.c
index 349f2f1..183aafc 100644
--- a/src/cl_extensions.c
+++ b/src/cl_extensions.c
@@ -48,6 +48,8 @@ void check_opt1_extension(cl_extensions_t *extensions)
 #endif
     if (id == EXT_ID(khr_image2d_from_buffer))
       extensions->extensions[id].base.ext_enabled = 1;
+    if (id == EXT_ID(khr_3d_image_writes))
+      extensions->extensions[id].base.ext_enabled = 1;
   }
 }
 
-- 
2.5.0



More information about the Beignet mailing list