[Beignet] [PATCH OCL20 2/2] Runtime: Add extensions for OCL20
Xiuli Pan
xiuli.pan at intel.com
Tue Mar 1 04:22:41 UTC 2016
From: Pan Xiuli <xiuli.pan at intel.com>
Add extensions requested by spec to base extensions.
Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
---
src/cl_extensions.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/cl_extensions.h b/src/cl_extensions.h
index c42d364..5b2f8a8 100644
--- a/src/cl_extensions.h
+++ b/src/cl_extensions.h
@@ -9,6 +9,9 @@
DECL_EXT(khr_local_int32_base_atomics) \
DECL_EXT(khr_local_int32_extended_atomics) \
DECL_EXT(khr_byte_addressable_store) \
+ DECL_EXT(khr_3d_image_writes)\
+ DECL_EXT(khr_image2d_from_buffer)\
+ DECL_EXT(khr_depth_images)\
DECL_EXT(khr_fp64)
/* The OPT1 extensions are those optional extensions
@@ -16,12 +19,9 @@
#define DECL_OPT1_EXTENSIONS \
DECL_EXT(khr_int64_base_atomics)\
DECL_EXT(khr_int64_extended_atomics)\
- DECL_EXT(khr_3d_image_writes)\
DECL_EXT(khr_fp16)\
- DECL_EXT(khr_image2d_from_buffer)\
DECL_EXT(khr_initialize_memory)\
DECL_EXT(khr_context_abort)\
- DECL_EXT(khr_depth_images)\
DECL_EXT(khr_spir) \
DECL_EXT(khr_icd)
--
2.5.0
More information about the Beignet
mailing list