Skip to content

Commit

Permalink
Add cl_ext_image_from_buffer extension definition (#196)
Browse files Browse the repository at this point in the history
Co-authored-by: Kévin Petit <kpet@free.fr>
  • Loading branch information
ouakheli and kpet authored May 10, 2022
1 parent e444a71 commit def8be9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CL/cl_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit def8be9

Please sign in to comment.