mirror of
https://github.com/hashcat/hashcat.git
synced 2025-08-04 12:56:00 +00:00
Merge pull request #4204 from matrix/OpenCL_Headers_update
Dependencies: Updated OpenCL-Headers to v2024.10.24 (commit 265df85)
This commit is contained in:
commit
137d9e89e6
16
deps/OpenCL-Headers/CL/cl.h
vendored
16
deps/OpenCL-Headers/CL/cl.h
vendored
@ -112,9 +112,9 @@ typedef cl_uint cl_kernel_exec_info;
|
||||
typedef cl_bitfield cl_device_atomic_capabilities;
|
||||
typedef cl_bitfield cl_device_device_enqueue_capabilities;
|
||||
typedef cl_uint cl_khronos_vendor_id;
|
||||
typedef cl_properties cl_mem_properties;
|
||||
typedef cl_uint cl_version;
|
||||
typedef cl_properties cl_mem_properties;
|
||||
#endif
|
||||
typedef cl_uint cl_version;
|
||||
|
||||
typedef struct _cl_image_format {
|
||||
cl_channel_order image_channel_order;
|
||||
@ -569,11 +569,8 @@ typedef struct _cl_name_version {
|
||||
#define CL_RGx 0x10BB
|
||||
#define CL_RGBx 0x10BC
|
||||
#endif
|
||||
#ifdef CL_VERSION_1_2
|
||||
#define CL_DEPTH 0x10BD
|
||||
#define CL_DEPTH_STENCIL 0x10BE
|
||||
#endif
|
||||
#ifdef CL_VERSION_2_0
|
||||
#define CL_DEPTH 0x10BD
|
||||
#define CL_sRGB 0x10BF
|
||||
#define CL_sRGBx 0x10C0
|
||||
#define CL_sRGBA 0x10C1
|
||||
@ -597,9 +594,6 @@ typedef struct _cl_name_version {
|
||||
#define CL_UNSIGNED_INT32 0x10DC
|
||||
#define CL_HALF_FLOAT 0x10DD
|
||||
#define CL_FLOAT 0x10DE
|
||||
#ifdef CL_VERSION_1_2
|
||||
#define CL_UNORM_INT24 0x10DF
|
||||
#endif
|
||||
#ifdef CL_VERSION_2_1
|
||||
#define CL_UNORM_INT_101010_2 0x10E0
|
||||
#endif
|
||||
@ -920,8 +914,6 @@ typedef struct _cl_name_version {
|
||||
/* cl_khronos_vendor_id */
|
||||
#define CL_KHRONOS_VENDOR_ID_CODEPLAY 0x10004
|
||||
|
||||
#ifdef CL_VERSION_3_0
|
||||
|
||||
/* cl_version */
|
||||
#define CL_VERSION_MAJOR_BITS (10)
|
||||
#define CL_VERSION_MINOR_BITS (10)
|
||||
@ -945,8 +937,6 @@ typedef struct _cl_name_version {
|
||||
(((minor) & CL_VERSION_MINOR_MASK) << CL_VERSION_PATCH_BITS) | \
|
||||
((patch) & CL_VERSION_PATCH_MASK))
|
||||
|
||||
#endif
|
||||
|
||||
/********************************************************************************************************/
|
||||
|
||||
/* CL_NO_PROTOTYPES implies CL_NO_CORE_PROTOTYPES: */
|
||||
|
69
deps/OpenCL-Headers/CL/cl_d3d10.h
vendored
69
deps/OpenCL-Headers/CL/cl_d3d10.h
vendored
@ -65,6 +65,9 @@ extern "C" {
|
||||
#define CL_KHR_D3D10_SHARING_EXTENSION_NAME \
|
||||
"cl_khr_d3d10_sharing"
|
||||
|
||||
|
||||
#define CL_KHR_D3D10_SHARING_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
typedef cl_uint cl_d3d10_device_source_khr;
|
||||
typedef cl_uint cl_d3d10_device_set_khr;
|
||||
|
||||
@ -97,56 +100,74 @@ typedef cl_uint cl_d3d10_device_set_khr;
|
||||
#define CL_COMMAND_RELEASE_D3D10_OBJECTS_KHR 0x4018
|
||||
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetDeviceIDsFromD3D10KHR_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetDeviceIDsFromD3D10KHR_t(
|
||||
cl_platform_id platform,
|
||||
cl_d3d10_device_source_khr d3d_device_source,
|
||||
void* d3d_object,
|
||||
cl_d3d10_device_set_khr d3d_device_set,
|
||||
cl_uint num_entries,
|
||||
cl_device_id* devices,
|
||||
cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_uint* num_devices);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromD3D10BufferKHR_fn)(
|
||||
typedef clGetDeviceIDsFromD3D10KHR_t *
|
||||
clGetDeviceIDsFromD3D10KHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromD3D10BufferKHR_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
ID3D10Buffer* resource,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromD3D10Texture2DKHR_fn)(
|
||||
typedef clCreateFromD3D10BufferKHR_t *
|
||||
clCreateFromD3D10BufferKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromD3D10Texture2DKHR_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
ID3D10Texture2D* resource,
|
||||
UINT subresource,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromD3D10Texture3DKHR_fn)(
|
||||
typedef clCreateFromD3D10Texture2DKHR_t *
|
||||
clCreateFromD3D10Texture2DKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromD3D10Texture3DKHR_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
ID3D10Texture3D* resource,
|
||||
UINT subresource,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueAcquireD3D10ObjectsKHR_fn)(
|
||||
typedef clCreateFromD3D10Texture3DKHR_t *
|
||||
clCreateFromD3D10Texture3DKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueAcquireD3D10ObjectsKHR_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_event* event);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueReleaseD3D10ObjectsKHR_fn)(
|
||||
typedef clEnqueueAcquireD3D10ObjectsKHR_t *
|
||||
clEnqueueAcquireD3D10ObjectsKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueReleaseD3D10ObjectsKHR_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_event* event);
|
||||
|
||||
typedef clEnqueueReleaseD3D10ObjectsKHR_t *
|
||||
clEnqueueReleaseD3D10ObjectsKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -210,16 +231,22 @@ clEnqueueReleaseD3D10ObjectsKHR(
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_D3D10_EXTENSION_NAME \
|
||||
"cl_intel_sharing_format_query_d3d10"
|
||||
|
||||
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_D3D10_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
||||
|
||||
/* when cl_khr_d3d10_sharing is supported */
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetSupportedD3D10TextureFormatsINTEL_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetSupportedD3D10TextureFormatsINTEL_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_mem_object_type image_type,
|
||||
cl_uint num_entries,
|
||||
DXGI_FORMAT* d3d10_formats,
|
||||
cl_uint* num_texture_formats) ;
|
||||
cl_uint* num_texture_formats);
|
||||
|
||||
typedef clGetSupportedD3D10TextureFormatsINTEL_t *
|
||||
clGetSupportedD3D10TextureFormatsINTEL_fn ;
|
||||
|
||||
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
|
69
deps/OpenCL-Headers/CL/cl_d3d11.h
vendored
69
deps/OpenCL-Headers/CL/cl_d3d11.h
vendored
@ -65,6 +65,9 @@ extern "C" {
|
||||
#define CL_KHR_D3D11_SHARING_EXTENSION_NAME \
|
||||
"cl_khr_d3d11_sharing"
|
||||
|
||||
|
||||
#define CL_KHR_D3D11_SHARING_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
typedef cl_uint cl_d3d11_device_source_khr;
|
||||
typedef cl_uint cl_d3d11_device_set_khr;
|
||||
|
||||
@ -97,56 +100,74 @@ typedef cl_uint cl_d3d11_device_set_khr;
|
||||
#define CL_COMMAND_RELEASE_D3D11_OBJECTS_KHR 0x4021
|
||||
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetDeviceIDsFromD3D11KHR_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetDeviceIDsFromD3D11KHR_t(
|
||||
cl_platform_id platform,
|
||||
cl_d3d11_device_source_khr d3d_device_source,
|
||||
void* d3d_object,
|
||||
cl_d3d11_device_set_khr d3d_device_set,
|
||||
cl_uint num_entries,
|
||||
cl_device_id* devices,
|
||||
cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_uint* num_devices);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromD3D11BufferKHR_fn)(
|
||||
typedef clGetDeviceIDsFromD3D11KHR_t *
|
||||
clGetDeviceIDsFromD3D11KHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromD3D11BufferKHR_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
ID3D11Buffer* resource,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromD3D11Texture2DKHR_fn)(
|
||||
typedef clCreateFromD3D11BufferKHR_t *
|
||||
clCreateFromD3D11BufferKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromD3D11Texture2DKHR_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
ID3D11Texture2D* resource,
|
||||
UINT subresource,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromD3D11Texture3DKHR_fn)(
|
||||
typedef clCreateFromD3D11Texture2DKHR_t *
|
||||
clCreateFromD3D11Texture2DKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromD3D11Texture3DKHR_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
ID3D11Texture3D* resource,
|
||||
UINT subresource,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueAcquireD3D11ObjectsKHR_fn)(
|
||||
typedef clCreateFromD3D11Texture3DKHR_t *
|
||||
clCreateFromD3D11Texture3DKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueAcquireD3D11ObjectsKHR_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_event* event);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueReleaseD3D11ObjectsKHR_fn)(
|
||||
typedef clEnqueueAcquireD3D11ObjectsKHR_t *
|
||||
clEnqueueAcquireD3D11ObjectsKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueReleaseD3D11ObjectsKHR_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_event* event);
|
||||
|
||||
typedef clEnqueueReleaseD3D11ObjectsKHR_t *
|
||||
clEnqueueReleaseD3D11ObjectsKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -210,17 +231,23 @@ clEnqueueReleaseD3D11ObjectsKHR(
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_D3D11_EXTENSION_NAME \
|
||||
"cl_intel_sharing_format_query_d3d11"
|
||||
|
||||
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_D3D11_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
||||
|
||||
/* when cl_khr_d3d11_sharing is supported */
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetSupportedD3D11TextureFormatsINTEL_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetSupportedD3D11TextureFormatsINTEL_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_mem_object_type image_type,
|
||||
cl_uint plane,
|
||||
cl_uint num_entries,
|
||||
DXGI_FORMAT* d3d11_formats,
|
||||
cl_uint* num_texture_formats) ;
|
||||
cl_uint* num_texture_formats);
|
||||
|
||||
typedef clGetSupportedD3D11TextureFormatsINTEL_t *
|
||||
clGetSupportedD3D11TextureFormatsINTEL_fn ;
|
||||
|
||||
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
|
90
deps/OpenCL-Headers/CL/cl_dx9_media_sharing.h
vendored
90
deps/OpenCL-Headers/CL/cl_dx9_media_sharing.h
vendored
@ -67,6 +67,9 @@ extern "C" {
|
||||
#define CL_KHR_DX9_MEDIA_SHARING_EXTENSION_NAME \
|
||||
"cl_khr_dx9_media_sharing"
|
||||
|
||||
|
||||
#define CL_KHR_DX9_MEDIA_SHARING_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
typedef cl_uint cl_dx9_media_adapter_type_khr;
|
||||
typedef cl_uint cl_dx9_media_adapter_set_khr;
|
||||
|
||||
@ -110,8 +113,8 @@ typedef struct _cl_dx9_surface_info_khr {
|
||||
#define CL_COMMAND_RELEASE_DX9_MEDIA_SURFACES_KHR 0x202C
|
||||
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetDeviceIDsFromDX9MediaAdapterKHR_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetDeviceIDsFromDX9MediaAdapterKHR_t(
|
||||
cl_platform_id platform,
|
||||
cl_uint num_media_adapters,
|
||||
cl_dx9_media_adapter_type_khr* media_adapter_type,
|
||||
@ -119,34 +122,46 @@ clGetDeviceIDsFromDX9MediaAdapterKHR_fn)(
|
||||
cl_dx9_media_adapter_set_khr media_adapter_set,
|
||||
cl_uint num_entries,
|
||||
cl_device_id* devices,
|
||||
cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_uint* num_devices);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromDX9MediaSurfaceKHR_fn)(
|
||||
typedef clGetDeviceIDsFromDX9MediaAdapterKHR_t *
|
||||
clGetDeviceIDsFromDX9MediaAdapterKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromDX9MediaSurfaceKHR_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_dx9_media_adapter_type_khr adapter_type,
|
||||
void* surface_info,
|
||||
cl_uint plane,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueAcquireDX9MediaSurfacesKHR_fn)(
|
||||
typedef clCreateFromDX9MediaSurfaceKHR_t *
|
||||
clCreateFromDX9MediaSurfaceKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueAcquireDX9MediaSurfacesKHR_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_event* event);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueReleaseDX9MediaSurfacesKHR_fn)(
|
||||
typedef clEnqueueAcquireDX9MediaSurfacesKHR_t *
|
||||
clEnqueueAcquireDX9MediaSurfacesKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueReleaseDX9MediaSurfacesKHR_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_event* event);
|
||||
|
||||
typedef clEnqueueReleaseDX9MediaSurfacesKHR_t *
|
||||
clEnqueueReleaseDX9MediaSurfacesKHR_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -197,6 +212,9 @@ clEnqueueReleaseDX9MediaSurfacesKHR(
|
||||
#define CL_INTEL_DX9_MEDIA_SHARING_EXTENSION_NAME \
|
||||
"cl_intel_dx9_media_sharing"
|
||||
|
||||
|
||||
#define CL_INTEL_DX9_MEDIA_SHARING_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
||||
|
||||
typedef cl_uint cl_dx9_device_source_intel;
|
||||
typedef cl_uint cl_dx9_device_set_intel;
|
||||
|
||||
@ -232,42 +250,54 @@ typedef cl_uint cl_dx9_device_set_intel;
|
||||
#define CL_COMMAND_RELEASE_DX9_OBJECTS_INTEL 0x402B
|
||||
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetDeviceIDsFromDX9INTEL_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetDeviceIDsFromDX9INTEL_t(
|
||||
cl_platform_id platform,
|
||||
cl_dx9_device_source_intel dx9_device_source,
|
||||
void* dx9_object,
|
||||
cl_dx9_device_set_intel dx9_device_set,
|
||||
cl_uint num_entries,
|
||||
cl_device_id* devices,
|
||||
cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_1;
|
||||
cl_uint* num_devices);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromDX9MediaSurfaceINTEL_fn)(
|
||||
typedef clGetDeviceIDsFromDX9INTEL_t *
|
||||
clGetDeviceIDsFromDX9INTEL_fn CL_API_SUFFIX__VERSION_1_1;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromDX9MediaSurfaceINTEL_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
IDirect3DSurface9* resource,
|
||||
HANDLE sharedHandle,
|
||||
UINT plane,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_1;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueAcquireDX9ObjectsINTEL_fn)(
|
||||
typedef clCreateFromDX9MediaSurfaceINTEL_t *
|
||||
clCreateFromDX9MediaSurfaceINTEL_fn CL_API_SUFFIX__VERSION_1_1;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueAcquireDX9ObjectsINTEL_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_1;
|
||||
cl_event* event);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueReleaseDX9ObjectsINTEL_fn)(
|
||||
typedef clEnqueueAcquireDX9ObjectsINTEL_t *
|
||||
clEnqueueAcquireDX9ObjectsINTEL_fn CL_API_SUFFIX__VERSION_1_1;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueReleaseDX9ObjectsINTEL_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_1;
|
||||
cl_event* event);
|
||||
|
||||
typedef clEnqueueReleaseDX9ObjectsINTEL_t *
|
||||
clEnqueueReleaseDX9ObjectsINTEL_fn CL_API_SUFFIX__VERSION_1_1;
|
||||
|
||||
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -317,17 +347,23 @@ clEnqueueReleaseDX9ObjectsINTEL(
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_DX9_EXTENSION_NAME \
|
||||
"cl_intel_sharing_format_query_dx9"
|
||||
|
||||
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_DX9_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
||||
|
||||
/* when cl_khr_dx9_media_sharing or cl_intel_dx9_media_sharing is supported */
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetSupportedDX9MediaSurfaceFormatsINTEL_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetSupportedDX9MediaSurfaceFormatsINTEL_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_mem_object_type image_type,
|
||||
cl_uint plane,
|
||||
cl_uint num_entries,
|
||||
D3DFORMAT* dx9_formats,
|
||||
cl_uint* num_surface_formats) ;
|
||||
cl_uint* num_surface_formats);
|
||||
|
||||
typedef clGetSupportedDX9MediaSurfaceFormatsINTEL_t *
|
||||
clGetSupportedDX9MediaSurfaceFormatsINTEL_fn ;
|
||||
|
||||
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
|
42
deps/OpenCL-Headers/CL/cl_egl.h
vendored
42
deps/OpenCL-Headers/CL/cl_egl.h
vendored
@ -51,6 +51,9 @@ extern "C" {
|
||||
#define CL_KHR_EGL_IMAGE_EXTENSION_NAME \
|
||||
"cl_khr_egl_image"
|
||||
|
||||
|
||||
#define CL_KHR_EGL_IMAGE_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
/* Command type for events created with clEnqueueAcquireEGLObjectsKHR */
|
||||
#define CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR 0x202F
|
||||
#define CL_COMMAND_ACQUIRE_EGL_OBJECTS_KHR 0x202D
|
||||
@ -70,32 +73,41 @@ typedef void* CLeglDisplayKHR;
|
||||
typedef intptr_t cl_egl_image_properties_khr;
|
||||
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromEGLImageKHR_fn)(
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromEGLImageKHR_t(
|
||||
cl_context context,
|
||||
CLeglDisplayKHR egldisplay,
|
||||
CLeglImageKHR eglimage,
|
||||
cl_mem_flags flags,
|
||||
const cl_egl_image_properties_khr* properties,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueAcquireEGLObjectsKHR_fn)(
|
||||
typedef clCreateFromEGLImageKHR_t *
|
||||
clCreateFromEGLImageKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueAcquireEGLObjectsKHR_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_event* event);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueReleaseEGLObjectsKHR_fn)(
|
||||
typedef clEnqueueAcquireEGLObjectsKHR_t *
|
||||
clEnqueueAcquireEGLObjectsKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueReleaseEGLObjectsKHR_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_event* event);
|
||||
|
||||
typedef clEnqueueReleaseEGLObjectsKHR_t *
|
||||
clEnqueueReleaseEGLObjectsKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -135,6 +147,9 @@ clEnqueueReleaseEGLObjectsKHR(
|
||||
#define CL_KHR_EGL_EVENT_EXTENSION_NAME \
|
||||
"cl_khr_egl_event"
|
||||
|
||||
|
||||
#define CL_KHR_EGL_EVENT_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
/* CLeglDisplayKHR is an opaque handle to an EGLDisplay */
|
||||
/* type CLeglDisplayKHR */
|
||||
|
||||
@ -142,12 +157,15 @@ clEnqueueReleaseEGLObjectsKHR(
|
||||
typedef void* CLeglSyncKHR;
|
||||
|
||||
|
||||
typedef cl_event (CL_API_CALL *
|
||||
clCreateEventFromEGLSyncKHR_fn)(
|
||||
typedef cl_event CL_API_CALL
|
||||
clCreateEventFromEGLSyncKHR_t(
|
||||
cl_context context,
|
||||
CLeglSyncKHR sync,
|
||||
CLeglDisplayKHR display,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef clCreateEventFromEGLSyncKHR_t *
|
||||
clCreateEventFromEGLSyncKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
|
1683
deps/OpenCL-Headers/CL/cl_ext.h
vendored
1683
deps/OpenCL-Headers/CL/cl_ext.h
vendored
File diff suppressed because it is too large
Load Diff
1184
deps/OpenCL-Headers/CL/cl_function_types.h
vendored
Normal file
1184
deps/OpenCL-Headers/CL/cl_function_types.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
137
deps/OpenCL-Headers/CL/cl_gl.h
vendored
137
deps/OpenCL-Headers/CL/cl_gl.h
vendored
@ -51,6 +51,13 @@ extern "C" {
|
||||
#define CL_KHR_GL_SHARING_EXTENSION_NAME \
|
||||
"cl_khr_gl_sharing"
|
||||
|
||||
|
||||
#define CL_KHR_GL_SHARING_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
typedef int cl_GLint;
|
||||
typedef unsigned int cl_GLenum;
|
||||
typedef unsigned int cl_GLuint;
|
||||
|
||||
typedef cl_uint cl_gl_context_info;
|
||||
|
||||
/* Error codes */
|
||||
@ -91,20 +98,26 @@ typedef cl_uint cl_gl_platform_info;
|
||||
#define CL_GL_MIPMAP_LEVEL 0x2005
|
||||
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetGLContextInfoKHR_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetGLContextInfoKHR_t(
|
||||
const cl_context_properties* properties,
|
||||
cl_gl_context_info param_name,
|
||||
size_t param_value_size,
|
||||
void* param_value,
|
||||
size_t* param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
size_t* param_value_size_ret);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromGLBuffer_fn)(
|
||||
typedef clGetGLContextInfoKHR_t *
|
||||
clGetGLContextInfoKHR_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromGLBuffer_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_GLuint bufobj,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef clCreateFromGLBuffer_t *
|
||||
clCreateFromGLBuffer_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -127,14 +140,17 @@ clCreateFromGLBuffer(
|
||||
|
||||
#if defined(CL_VERSION_1_2)
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromGLTexture_fn)(
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromGLTexture_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_GLenum target,
|
||||
cl_GLint miplevel,
|
||||
cl_GLuint texture,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef clCreateFromGLTexture_t *
|
||||
clCreateFromGLTexture_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -152,44 +168,59 @@ clCreateFromGLTexture(
|
||||
#endif /* defined(CL_VERSION_1_2) */
|
||||
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromGLRenderbuffer_fn)(
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromGLRenderbuffer_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_GLuint renderbuffer,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetGLObjectInfo_fn)(
|
||||
typedef clCreateFromGLRenderbuffer_t *
|
||||
clCreateFromGLRenderbuffer_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetGLObjectInfo_t(
|
||||
cl_mem memobj,
|
||||
cl_gl_object_type* gl_object_type,
|
||||
cl_GLuint* gl_object_name) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_GLuint* gl_object_name);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetGLTextureInfo_fn)(
|
||||
typedef clGetGLObjectInfo_t *
|
||||
clGetGLObjectInfo_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetGLTextureInfo_t(
|
||||
cl_mem memobj,
|
||||
cl_gl_texture_info param_name,
|
||||
size_t param_value_size,
|
||||
void* param_value,
|
||||
size_t* param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
|
||||
size_t* param_value_size_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueAcquireGLObjects_fn)(
|
||||
typedef clGetGLTextureInfo_t *
|
||||
clGetGLTextureInfo_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueAcquireGLObjects_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_event* event);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueReleaseGLObjects_fn)(
|
||||
typedef clEnqueueAcquireGLObjects_t *
|
||||
clEnqueueAcquireGLObjects_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueReleaseGLObjects_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_0;
|
||||
cl_event* event);
|
||||
|
||||
typedef clEnqueueReleaseGLObjects_t *
|
||||
clEnqueueReleaseGLObjects_fn CL_API_SUFFIX__VERSION_1_0;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -236,23 +267,29 @@ clEnqueueReleaseGLObjects(
|
||||
|
||||
/* OpenCL 1.0 APIs that were deprecated in OpenCL 1.2 */
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromGLTexture2D_fn)(
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromGLTexture2D_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_GLenum target,
|
||||
cl_GLint miplevel,
|
||||
cl_GLuint texture,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_1_DEPRECATED;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromGLTexture3D_fn)(
|
||||
typedef clCreateFromGLTexture2D_t *
|
||||
clCreateFromGLTexture2D_fn CL_API_SUFFIX__VERSION_1_1_DEPRECATED;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromGLTexture3D_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_GLenum target,
|
||||
cl_GLint miplevel,
|
||||
cl_GLuint texture,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_1_DEPRECATED;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef clCreateFromGLTexture3D_t *
|
||||
clCreateFromGLTexture3D_fn CL_API_SUFFIX__VERSION_1_1_DEPRECATED;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -283,17 +320,23 @@ clCreateFromGLTexture3D(
|
||||
#define CL_KHR_GL_EVENT_EXTENSION_NAME \
|
||||
"cl_khr_gl_event"
|
||||
|
||||
|
||||
#define CL_KHR_GL_EVENT_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
typedef struct __GLsync * cl_GLsync;
|
||||
|
||||
/* cl_command_type */
|
||||
#define CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR 0x200D
|
||||
|
||||
|
||||
typedef cl_event (CL_API_CALL *
|
||||
clCreateEventFromGLsyncKHR_fn)(
|
||||
typedef cl_event CL_API_CALL
|
||||
clCreateEventFromGLsyncKHR_t(
|
||||
cl_context context,
|
||||
cl_GLsync sync,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_1;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef clCreateEventFromGLsyncKHR_t *
|
||||
clCreateEventFromGLsyncKHR_fn CL_API_SUFFIX__VERSION_1_1;
|
||||
|
||||
#if !defined(CL_NO_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -312,18 +355,15 @@ clCreateEventFromGLsyncKHR(
|
||||
#define CL_KHR_GL_DEPTH_IMAGES_EXTENSION_NAME \
|
||||
"cl_khr_gl_depth_images"
|
||||
|
||||
#if !defined(CL_VERSION_1_2)
|
||||
/* cl_channel_order - defined in CL.h for OpenCL 1.2 and newer */
|
||||
|
||||
#define CL_KHR_GL_DEPTH_IMAGES_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
/* cl_channel_order */
|
||||
#define CL_DEPTH_STENCIL 0x10BE
|
||||
|
||||
#endif /* !defined(CL_VERSION_1_2) */
|
||||
|
||||
#if !defined(CL_VERSION_1_2)
|
||||
/* cl_channel_type - defined in CL.h for OpenCL 1.2 and newer */
|
||||
/* cl_channel_type */
|
||||
#define CL_UNORM_INT24 0x10DF
|
||||
|
||||
#endif /* !defined(CL_VERSION_1_2) */
|
||||
|
||||
/***************************************************************
|
||||
* cl_khr_gl_msaa_sharing
|
||||
***************************************************************/
|
||||
@ -331,6 +371,9 @@ clCreateEventFromGLsyncKHR(
|
||||
#define CL_KHR_GL_MSAA_SHARING_EXTENSION_NAME \
|
||||
"cl_khr_gl_msaa_sharing"
|
||||
|
||||
|
||||
#define CL_KHR_GL_MSAA_SHARING_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
/* cl_gl_texture_info */
|
||||
#define CL_GL_NUM_SAMPLES 0x2012
|
||||
|
||||
@ -341,16 +384,22 @@ clCreateEventFromGLsyncKHR(
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_GL_EXTENSION_NAME \
|
||||
"cl_intel_sharing_format_query_gl"
|
||||
|
||||
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_GL_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
||||
|
||||
/* when cl_khr_gl_sharing is supported */
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetSupportedGLTextureFormatsINTEL_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetSupportedGLTextureFormatsINTEL_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_mem_object_type image_type,
|
||||
cl_uint num_entries,
|
||||
cl_GLenum* gl_formats,
|
||||
cl_uint* num_texture_formats) ;
|
||||
cl_uint* num_texture_formats);
|
||||
|
||||
typedef clGetSupportedGLTextureFormatsINTEL_t *
|
||||
clGetSupportedGLTextureFormatsINTEL_fn ;
|
||||
|
||||
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
|
1459
deps/OpenCL-Headers/CL/cl_icd.h
vendored
1459
deps/OpenCL-Headers/CL/cl_icd.h
vendored
File diff suppressed because it is too large
Load Diff
37
deps/OpenCL-Headers/CL/cl_layer.h
vendored
37
deps/OpenCL-Headers/CL/cl_layer.h
vendored
@ -53,6 +53,9 @@ extern "C" {
|
||||
#define CL_LOADER_LAYERS_EXTENSION_NAME \
|
||||
"cl_loader_layers"
|
||||
|
||||
|
||||
#define CL_LOADER_LAYERS_EXTENSION_VERSION CL_MAKE_VERSION(1, 0, 0)
|
||||
|
||||
typedef cl_uint cl_layer_info;
|
||||
typedef cl_uint cl_layer_api_version;
|
||||
|
||||
@ -64,19 +67,25 @@ typedef cl_uint cl_layer_api_version;
|
||||
#define CL_LAYER_API_VERSION_100 100
|
||||
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetLayerInfo_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetLayerInfo_t(
|
||||
cl_layer_info param_name,
|
||||
size_t param_value_size,
|
||||
void* param_value,
|
||||
size_t* param_value_size_ret) ;
|
||||
size_t* param_value_size_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clInitLayer_fn)(
|
||||
typedef clGetLayerInfo_t *
|
||||
clGetLayerInfo_fn ;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clInitLayer_t(
|
||||
cl_uint num_entries,
|
||||
const cl_icd_dispatch* target_dispatch,
|
||||
cl_uint* num_entries_ret,
|
||||
const cl_icd_dispatch** layer_dispatch_ret) ;
|
||||
const cl_icd_dispatch** layer_dispatch_ret);
|
||||
|
||||
typedef clInitLayer_t *
|
||||
clInitLayer_fn ;
|
||||
|
||||
/*
|
||||
** The function pointer typedefs prefixed with "pfn_" are provided for
|
||||
@ -85,19 +94,11 @@ clInitLayer_fn)(
|
||||
** "_fn" instead, for consistency.
|
||||
*/
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
pfn_clGetLayerInfo)(
|
||||
cl_layer_info param_name,
|
||||
size_t param_value_size,
|
||||
void* param_value,
|
||||
size_t* param_value_size_ret) ;
|
||||
typedef clGetLayerInfo_t *
|
||||
pfn_clGetLayerInfo ;
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
pfn_clInitLayer)(
|
||||
cl_uint num_entries,
|
||||
const cl_icd_dispatch* target_dispatch,
|
||||
cl_uint* num_entries_ret,
|
||||
const cl_icd_dispatch** layer_dispatch_ret) ;
|
||||
typedef clInitLayer_t *
|
||||
pfn_clInitLayer ;
|
||||
|
||||
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
|
7
deps/OpenCL-Headers/CL/cl_platform.h
vendored
7
deps/OpenCL-Headers/CL/cl_platform.h
vendored
@ -77,7 +77,7 @@ extern "C" {
|
||||
#ifdef __GNUC__
|
||||
#define CL_API_SUFFIX_DEPRECATED __attribute__((deprecated))
|
||||
#define CL_API_PREFIX_DEPRECATED
|
||||
#elif defined(_WIN32)
|
||||
#elif defined(_MSC_VER) && !defined(__clang__)
|
||||
#define CL_API_SUFFIX_DEPRECATED
|
||||
#define CL_API_PREFIX_DEPRECATED __declspec(deprecated)
|
||||
#else
|
||||
@ -361,11 +361,6 @@ typedef double cl_double;
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/* Mirror types to GL types. Mirror types allow us to avoid deciding which 87s to load based on whether we are using GL or GLES here. */
|
||||
typedef unsigned int cl_GLuint;
|
||||
typedef int cl_GLint;
|
||||
typedef unsigned int cl_GLenum;
|
||||
|
||||
/*
|
||||
* Vector types
|
||||
*
|
||||
|
@ -53,17 +53,23 @@ extern "C" {
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_VA_API_EXTENSION_NAME \
|
||||
"cl_intel_sharing_format_query_va_api"
|
||||
|
||||
|
||||
#define CL_INTEL_SHARING_FORMAT_QUERY_VA_API_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
||||
|
||||
/* when cl_intel_va_api_media_sharing is supported */
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetSupportedVA_APIMediaSurfaceFormatsINTEL_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetSupportedVA_APIMediaSurfaceFormatsINTEL_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
cl_mem_object_type image_type,
|
||||
cl_uint plane,
|
||||
cl_uint num_entries,
|
||||
VAImageFormat* va_api_formats,
|
||||
cl_uint* num_surface_formats) ;
|
||||
cl_uint* num_surface_formats);
|
||||
|
||||
typedef clGetSupportedVA_APIMediaSurfaceFormatsINTEL_t *
|
||||
clGetSupportedVA_APIMediaSurfaceFormatsINTEL_fn ;
|
||||
|
||||
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
@ -86,6 +92,9 @@ clGetSupportedVA_APIMediaSurfaceFormatsINTEL(
|
||||
#define CL_INTEL_VA_API_MEDIA_SHARING_EXTENSION_NAME \
|
||||
"cl_intel_va_api_media_sharing"
|
||||
|
||||
|
||||
#define CL_INTEL_VA_API_MEDIA_SHARING_EXTENSION_VERSION CL_MAKE_VERSION(0, 0, 0)
|
||||
|
||||
typedef cl_uint cl_va_api_device_source_intel;
|
||||
typedef cl_uint cl_va_api_device_set_intel;
|
||||
|
||||
@ -116,41 +125,53 @@ typedef cl_uint cl_va_api_device_set_intel;
|
||||
#define CL_COMMAND_RELEASE_VA_API_MEDIA_SURFACES_INTEL 0x409B
|
||||
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clGetDeviceIDsFromVA_APIMediaAdapterINTEL_fn)(
|
||||
typedef cl_int CL_API_CALL
|
||||
clGetDeviceIDsFromVA_APIMediaAdapterINTEL_t(
|
||||
cl_platform_id platform,
|
||||
cl_va_api_device_source_intel media_adapter_type,
|
||||
void* media_adapter,
|
||||
cl_va_api_device_set_intel media_adapter_set,
|
||||
cl_uint num_entries,
|
||||
cl_device_id* devices,
|
||||
cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_uint* num_devices);
|
||||
|
||||
typedef cl_mem (CL_API_CALL *
|
||||
clCreateFromVA_APIMediaSurfaceINTEL_fn)(
|
||||
typedef clGetDeviceIDsFromVA_APIMediaAdapterINTEL_t *
|
||||
clGetDeviceIDsFromVA_APIMediaAdapterINTEL_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_mem CL_API_CALL
|
||||
clCreateFromVA_APIMediaSurfaceINTEL_t(
|
||||
cl_context context,
|
||||
cl_mem_flags flags,
|
||||
VASurfaceID* surface,
|
||||
cl_uint plane,
|
||||
cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_int* errcode_ret);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueAcquireVA_APIMediaSurfacesINTEL_fn)(
|
||||
typedef clCreateFromVA_APIMediaSurfaceINTEL_t *
|
||||
clCreateFromVA_APIMediaSurfaceINTEL_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueAcquireVA_APIMediaSurfacesINTEL_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_event* event);
|
||||
|
||||
typedef cl_int (CL_API_CALL *
|
||||
clEnqueueReleaseVA_APIMediaSurfacesINTEL_fn)(
|
||||
typedef clEnqueueAcquireVA_APIMediaSurfacesINTEL_t *
|
||||
clEnqueueAcquireVA_APIMediaSurfacesINTEL_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
typedef cl_int CL_API_CALL
|
||||
clEnqueueReleaseVA_APIMediaSurfacesINTEL_t(
|
||||
cl_command_queue command_queue,
|
||||
cl_uint num_objects,
|
||||
const cl_mem* mem_objects,
|
||||
cl_uint num_events_in_wait_list,
|
||||
const cl_event* event_wait_list,
|
||||
cl_event* event) CL_API_SUFFIX__VERSION_1_2;
|
||||
cl_event* event);
|
||||
|
||||
typedef clEnqueueReleaseVA_APIMediaSurfacesINTEL_t *
|
||||
clEnqueueReleaseVA_APIMediaSurfacesINTEL_fn CL_API_SUFFIX__VERSION_1_2;
|
||||
|
||||
#if !defined(CL_NO_NON_ICD_DISPATCH_EXTENSION_PROTOTYPES)
|
||||
|
||||
|
41
deps/OpenCL-Headers/README.md
vendored
41
deps/OpenCL-Headers/README.md
vendored
@ -98,14 +98,55 @@ may include the OpenCL API headers as follows:
|
||||
#include <CL/opencl.h>
|
||||
```
|
||||
|
||||
## Compatibility Notes
|
||||
|
||||
OpenCL values backward compatibility and in most cases an application using an
|
||||
older version of the OpenCL API headers can seamlessly update to a newer version
|
||||
of the OpenCL API headers. In rare cases, though, the OpenCL API headers may
|
||||
break backward compatibility:
|
||||
|
||||
* Very rarely, there may be bugs or other issues in the OpenCL API headers that
|
||||
cannot be fixed without breaking compatibility.
|
||||
* The OpenCL API headers for beta features or beta extensions may
|
||||
be changed in a way that breaks compatibility.
|
||||
|
||||
Applications or libraries that require stable OpenCL API headers are encouraged
|
||||
to use tagged or released OpenCL API headers. We will do our best to document
|
||||
any breaking changes in the description of each release. The OpenCL API headers
|
||||
are tagged at least as often as each OpenCL specification release.
|
||||
|
||||
## Beta Extensions
|
||||
|
||||
Beta extensions are extensions that are still in development and are
|
||||
hence subject to change. To further improve compatibility for applications that
|
||||
do not use beta features, support for beta extensions must be
|
||||
explicitly enabled. Support for beta extensions is controlled by the
|
||||
`CL_ENABLE_BETA_EXTENSIONS` preprocessor define.
|
||||
|
||||
For example, to enable support for OpenCL 3.0 APIs and all extensions, including
|
||||
beta extensions, you may include the OpenCL API headers as follows:
|
||||
|
||||
```c
|
||||
#define CL_TARGET_OPENCL_VERSION 300
|
||||
#define CL_ENABLE_BETA_EXTENSIONS
|
||||
#include <CL/opencl.h>
|
||||
```
|
||||
|
||||
## Directory Structure
|
||||
|
||||
```
|
||||
README.md This file
|
||||
LICENSE Source license for the OpenCL API headers
|
||||
CL/ Unified OpenCL API headers tree
|
||||
scripts/ Scripts for generating OpenCL extension headers
|
||||
tests/ OpenCL API header tests
|
||||
```
|
||||
|
||||
## Packaging
|
||||
|
||||
For packaging instructions, see [RELEASE.md](https://github.com/KhronosGroup/OpenCL-SDK/blob/main/docs/RELEASE.md)
|
||||
in the OpenCL SDK repository.
|
||||
|
||||
## License
|
||||
|
||||
See [LICENSE](LICENSE).
|
||||
|
@ -116,7 +116,7 @@
|
||||
- Dependencies: Updated LZMA SDK to 22.01
|
||||
- Dependencies: Updated unrar source to 6.2.7
|
||||
- Building: Support building windows binaries on macOS using MinGW
|
||||
- Dependencies: Updated OpenCL-Headers to v2023.04.17
|
||||
- Dependencies: Updated OpenCL-Headers to v2024.10.24 (commit 265df85)
|
||||
- Documents: Updated BUILD.md and added BUILD_macOS.md (containing instructions for building windows binaries on macOS)
|
||||
- Modules: Added support for non-zero IVs for -m 6800 (Lastpass). Also added `tools/lastpass2hashcat.py`
|
||||
- Open Document Format: Added support for small documents with content length < 1024
|
||||
|
Loading…
Reference in New Issue
Block a user