summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarm-wk <53617630+ouakheli@users.noreply.github.com>2022-05-10 17:02:00 +0100
committerGitHub <noreply@github.com>2022-05-10 09:02:00 -0700
commitdef8be9d35fda35492b72f54a94515f7df8d1e9f (patch)
tree66d84c7d8d5da4864bd43124a141a46a15f812a5
parente444a714e4115feade43f3f8f7c01469bb09929a (diff)
downloadOpenCL-Headers-def8be9d35fda35492b72f54a94515f7df8d1e9f.tar.gz
Add cl_ext_image_from_buffer extension definition (#196)upstream/v2022.05.18
Co-authored-by: Kévin Petit <kpet@free.fr>
-rw-r--r--CL/cl_ext.h12
1 files changed, 12 insertions, 0 deletions
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 @@ clGetImageRequirementsInfoEXT_fn)(
#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