Skip to content

Commit

Permalink
adds support for updated XML schema with group and etype
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug committed Sep 27, 2024
1 parent 542d7a8 commit 7c0491d
Show file tree
Hide file tree
Showing 8 changed files with 148 additions and 82 deletions.
4 changes: 3 additions & 1 deletion CL/cl_d3d10.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ typedef cl_uint cl_d3d10_device_set_khr;
#define CL_PREFERRED_DEVICES_FOR_D3D10_KHR 0x4012
#define CL_ALL_DEVICES_FOR_D3D10_KHR 0x4013

/* cl_context_info */
/* cl_context_properties */
#define CL_CONTEXT_D3D10_DEVICE_KHR 0x4014

/* cl_context_info */
#define CL_CONTEXT_D3D10_PREFER_SHARED_RESOURCES_KHR 0x402C

/* cl_mem_info */
Expand Down
4 changes: 3 additions & 1 deletion CL/cl_d3d11.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ typedef cl_uint cl_d3d11_device_set_khr;
#define CL_PREFERRED_DEVICES_FOR_D3D11_KHR 0x401B
#define CL_ALL_DEVICES_FOR_D3D11_KHR 0x401C

/* cl_context_info */
/* cl_context_properties */
#define CL_CONTEXT_D3D11_DEVICE_KHR 0x401D

/* cl_context_info */
#define CL_CONTEXT_D3D11_PREFER_SHARED_RESOURCES_KHR 0x402D

/* cl_mem_info */
Expand Down
8 changes: 4 additions & 4 deletions CL/cl_dx9_media_sharing.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ typedef struct _cl_dx9_surface_info_khr {
#define CL_DX9_MEDIA_SURFACE_ALREADY_ACQUIRED_KHR -1012
#define CL_DX9_MEDIA_SURFACE_NOT_ACQUIRED_KHR -1013

/* cl_media_adapter_type_khr */
/* cl_dx9_media_adapter_type_khr */
#define CL_ADAPTER_D3D9_KHR 0x2020
#define CL_ADAPTER_D3D9EX_KHR 0x2021
#define CL_ADAPTER_DXVA_KHR 0x2022

/* cl_media_adapter_set_khr */
/* cl_dx9_media_adapter_set_khr */
#define CL_PREFERRED_DEVICES_FOR_DX9_MEDIA_ADAPTER_KHR 0x2023
#define CL_ALL_DEVICES_FOR_DX9_MEDIA_ADAPTER_KHR 0x2024

/* cl_context_info */
/* cl_context_properties */
#define CL_CONTEXT_ADAPTER_D3D9_KHR 0x2025
#define CL_CONTEXT_ADAPTER_D3D9EX_KHR 0x2026
#define CL_CONTEXT_ADAPTER_DXVA_KHR 0x2027
Expand Down Expand Up @@ -233,7 +233,7 @@ typedef cl_uint cl_dx9_device_set_intel;
#define CL_PREFERRED_DEVICES_FOR_DX9_INTEL 0x4024
#define CL_ALL_DEVICES_FOR_DX9_INTEL 0x4025

/* cl_context_info */
/* cl_context_properties */
#define CL_CONTEXT_D3D9_DEVICE_INTEL 0x4026
#define CL_CONTEXT_D3D9EX_DEVICE_INTEL 0x4072
#define CL_CONTEXT_DXVA_DEVICE_INTEL 0x4073
Expand Down
2 changes: 1 addition & 1 deletion CL/cl_egl.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ extern "C" {

#define CL_KHR_EGL_IMAGE_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)

/* Command type for events created with clEnqueueAcquireEGLObjectsKHR */
/* cl_command_type */
#define CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR 0x202F
#define CL_COMMAND_ACQUIRE_EGL_OBJECTS_KHR 0x202D
#define CL_COMMAND_RELEASE_EGL_OBJECTS_KHR 0x202E
Expand Down
Loading

0 comments on commit 7c0491d

Please sign in to comment.