Skip to content

Commit 703b18b

Browse files
authored
move CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR to cl_khr_egl_event (#309)
1 parent fd69d0f commit 703b18b

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

CL/cl_egl.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ extern "C" {
5555
#define CL_KHR_EGL_IMAGE_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
5656

5757
/* Command type for events created with clEnqueueAcquireEGLObjectsKHR */
58-
#define CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR 0x202F
5958
#define CL_COMMAND_ACQUIRE_EGL_OBJECTS_KHR 0x202D
6059
#define CL_COMMAND_RELEASE_EGL_OBJECTS_KHR 0x202E
6160

@@ -150,6 +149,9 @@ clEnqueueReleaseEGLObjectsKHR(
150149

151150
#define CL_KHR_EGL_EVENT_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
152151

152+
/* cl_command_type */
153+
#define CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR 0x202F
154+
153155
/* CLeglDisplayKHR is an opaque handle to an EGLDisplay */
154156
/* type CLeglDisplayKHR */
155157

CL/cl_ext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4690,7 +4690,7 @@ typedef struct _cl_kernel_allocation_info_intel {
46904690
cl_int arg_index;
46914691
} cl_kernel_allocation_info_intel;
46924692

4693-
/* cl_kernel_workgroup_info */
4693+
/* cl_kernel_work_group_info */
46944694
#define CL_KERNEL_ALLOCATIONS_INFO_INTEL 0x425A
46954695

46964696
/***************************************************************

CL/cl_function_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ typedef cl_int CL_API_CALL clGetKernelSuggestedLocalWorkSize_t(
11891189
cl_uint work_dim,
11901190
const size_t* global_work_offset,
11911191
const size_t* global_work_size,
1192-
size_t* suggested_local_work_size) CL_API_SUFFIX__VERSION_3_1;
1192+
size_t* suggested_local_work_size);
11931193

11941194
typedef clGetKernelSuggestedLocalWorkSize_t *
11951195
clGetKernelSuggestedLocalWorkSize_fn CL_API_SUFFIX__VERSION_3_1;

0 commit comments

Comments
 (0)