Add cl_ext_image_from_buffer extension definition (#196)
Co-authored-by: Kévin Petit <kpet@free.fr>
diff --git a/CL/cl_ext.h b/CL/cl_ext.h
index 3df4443..7f7712f 100644
--- a/CL/cl_ext.h
+++ b/CL/cl_ext.h
@@ -2490,6 +2490,18 @@
#endif
+/***************************************************************
+* cl_ext_image_from_buffer
+***************************************************************/
+
+#ifdef CL_VERSION_3_0
+
+#define cl_ext_image_from_buffer 1
+
+#define CL_IMAGE_REQUIREMENTS_SLICE_PITCH_ALIGNMENT_EXT 0x1291
+
+#endif
+
#ifdef __cplusplus
}
#endif