From e46e09d613908c93247b38718d5fb0206e262b39 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Thu, 18 May 2023 11:49:23 +0300 Subject: [PATCH 01/21] consistent enum types --- xml/cl.xml | 1288 +++++++++++++++++++++++++++------------------------- 1 file changed, 673 insertions(+), 615 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 219e2c5f1..e57c6495c 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -139,6 +139,7 @@ server's OpenCL/api-docs repository. typedef cl_uint cl_queue_priority_khr; typedef cl_uint cl_queue_throttle_khr; typedef intptr_t cl_import_properties_arm; + typedef intptr_t cl_import_type_arm; typedef cl_bitfield cl_svm_mem_flags_arm; typedef cl_uint cl_kernel_exec_info_arm; typedef cl_bitfield cl_device_svm_capabilities_arm; @@ -171,6 +172,8 @@ server's OpenCL/api-docs repository. typedef intptr_t cl_device_partition_property; typedef cl_bitfield cl_device_affinity_domain; typedef intptr_t cl_context_properties; + typedef intptr_t cl_context_property_diagnostics_level; + typedef intptr_t cl_context_memory_initialize_khr; typedef cl_uint cl_context_info; typedef cl_properties cl_queue_properties; typedef cl_properties cl_queue_properties_khr; @@ -251,21 +254,33 @@ server's OpenCL/api-docs repository. typedef cl_bitfield cl_device_fp_atomic_capabilities_ext; typedef cl_uint cl_image_requirements_info_ext; typedef cl_bitfield cl_platform_command_buffer_capabilities_khr; - + typedef cl_uint cl_affinity_domain_ext; + typedef cl_uint cl_command_termination_reason_arm; + typedef cl_uint cl_host_cache_policy; + typedef cl_uint cl_allocation_type; + typedef cl_uint cl_mb_block_type; + typedef cl_uint cl_subpixel_mode; + typedef cl_uint cl_sad_adjust_mode; + typedef cl_uint cl_search_path_type; + typedef cl_uint cl_device_me_version; + typedef cl_uint cl_device_avc_me_version; + typedef cl_int cl_command_execution_status; + typedef cl_int cl_error_code; + Structure types IDirect3DSurface9* resource HANDLE shared_handle - cl_uint mb_block_type - cl_uint subpixel_mode - cl_uint sad_adjust_mode - cl_uint search_path_type + cl_mb_block_type mb_block_type + cl_subpixel_mode subpixel_mode + cl_sad_adjust_mode sad_adjust_mode + cl_search_path_type search_path_type - cl_uint allocation_type - cl_uint host_cache_policy + cl_allocation_type allocation_type + cl_host_cache_policyhost_cache_policy cl_mem_ext_host_ptr ext_host_ptr @@ -728,7 +743,7 @@ server's OpenCL/api-docs repository. - + @@ -957,7 +972,7 @@ server's OpenCL/api-docs repository. - + @@ -971,7 +986,7 @@ server's OpenCL/api-docs repository. - + @@ -1302,7 +1317,7 @@ server's OpenCL/api-docs repository. - + @@ -2283,7 +2298,7 @@ server's OpenCL/api-docs repository. - cl_int clGetDeviceIDsFromD3D10KHR + cl_error_code clGetDeviceIDsFromD3D10KHR cl_platform_id platform cl_d3d10_device_source_khr d3d_device_source void* d3d_object @@ -2297,7 +2312,7 @@ server's OpenCL/api-docs repository. cl_context context cl_mem_flags flags ID3D10Buffer* resource - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateFromD3D10Texture2DKHR @@ -2305,7 +2320,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags ID3D10Texture2D* resource UINT subresource - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateFromD3D10Texture3DKHR @@ -2313,10 +2328,10 @@ server's OpenCL/api-docs repository. cl_mem_flags flags ID3D10Texture3D* resource UINT subresource - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueAcquireD3D10ObjectsKHR + cl_error_code clEnqueueAcquireD3D10ObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2325,7 +2340,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseD3D10ObjectsKHR + cl_error_code clEnqueueReleaseD3D10ObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2334,7 +2349,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clGetDeviceIDsFromD3D11KHR + cl_error_code clGetDeviceIDsFromD3D11KHR cl_platform_id platform cl_d3d11_device_source_khr d3d_device_source void* d3d_object @@ -2348,7 +2363,7 @@ server's OpenCL/api-docs repository. cl_context context cl_mem_flags flags ID3D11Buffer* resource - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateFromD3D11Texture2DKHR @@ -2356,7 +2371,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags ID3D11Texture2D* resource UINT subresource - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateFromD3D11Texture3DKHR @@ -2364,10 +2379,10 @@ server's OpenCL/api-docs repository. cl_mem_flags flags ID3D11Texture3D* resource UINT subresource - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueAcquireD3D11ObjectsKHR + cl_error_code clEnqueueAcquireD3D11ObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2376,7 +2391,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseD3D11ObjectsKHR + cl_error_code clEnqueueReleaseD3D11ObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2385,7 +2400,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clGetDeviceIDsFromDX9MediaAdapterKHR + cl_error_code clGetDeviceIDsFromDX9MediaAdapterKHR cl_platform_id platform cl_uint num_media_adapters cl_dx9_media_adapter_type_khr* media_adapter_type @@ -2402,10 +2417,10 @@ server's OpenCL/api-docs repository. cl_dx9_media_adapter_type_khr adapter_type void* surface_info cl_uint plane - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueAcquireDX9MediaSurfacesKHR + cl_error_code clEnqueueAcquireDX9MediaSurfacesKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2414,7 +2429,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseDX9MediaSurfacesKHR + cl_error_code clEnqueueReleaseDX9MediaSurfacesKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2423,7 +2438,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clGetDeviceIDsFromDX9INTEL + cl_error_code clGetDeviceIDsFromDX9INTEL cl_platform_id platform cl_dx9_device_source_intel dx9_device_source void* dx9_object @@ -2439,10 +2454,10 @@ server's OpenCL/api-docs repository. IDirect3DSurface9* resource HANDLE sharedHandle UINT plane - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueAcquireDX9ObjectsINTEL + cl_error_code clEnqueueAcquireDX9ObjectsINTEL cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2451,7 +2466,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseDX9ObjectsINTEL + cl_error_code clEnqueueReleaseDX9ObjectsINTEL cl_command_queue command_queue cl_uint num_objects cl_mem* mem_objects @@ -2464,7 +2479,7 @@ server's OpenCL/api-docs repository. cl_context context CLeglSyncKHR sync CLeglDisplayKHR display - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateFromEGLImageKHR @@ -2473,10 +2488,10 @@ server's OpenCL/api-docs repository. CLeglImageKHR eglimage cl_mem_flags flags const cl_egl_image_properties_khr* properties - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueAcquireEGLObjectsKHR + cl_error_code clEnqueueAcquireEGLObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2485,7 +2500,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseEGLObjectsKHR + cl_error_code clEnqueueReleaseEGLObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2515,7 +2530,7 @@ server's OpenCL/api-docs repository. void* user_data - cl_int clIcdGetPlatformIDsKHR + cl_error_code clIcdGetPlatformIDsKHR cl_uint num_entries cl_platform_id* platforms cl_uint* num_platforms @@ -2525,10 +2540,10 @@ server's OpenCL/api-docs repository. cl_context context const void* il size_t length - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clTerminateContextKHR + cl_error_code clTerminateContextKHR cl_context context @@ -2536,18 +2551,18 @@ server's OpenCL/api-docs repository. cl_context context cl_device_id device const cl_queue_properties_khr* properties - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clReleaseDeviceEXT + cl_error_code clReleaseDeviceEXT cl_device_id device - cl_int clRetainDeviceEXT + cl_error_code clRetainDeviceEXT cl_device_id device - cl_int clCreateSubDevicesEXT + cl_error_code clCreateSubDevicesEXT cl_device_id in_device const cl_device_partition_property_ext* properties cl_uint num_entries @@ -2555,7 +2570,7 @@ server's OpenCL/api-docs repository. cl_uint* num_devices - cl_int clEnqueueMigrateMemObjectEXT + cl_error_code clEnqueueMigrateMemObjectEXT cl_command_queue command_queue cl_uint num_mem_objects const cl_mem* mem_objects @@ -2565,7 +2580,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clGetDeviceImageInfoQCOM + cl_error_code clGetDeviceImageInfoQCOM cl_device_id device size_t image_width size_t image_height @@ -2576,7 +2591,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clEnqueueAcquireGrallocObjectsIMG + cl_error_code clEnqueueAcquireGrallocObjectsIMG cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2585,7 +2600,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueGenerateMipmapIMG + cl_error_code clEnqueueGenerateMipmapIMG cl_command_queue command_queue cl_mem src_image cl_mem dst_image @@ -2597,7 +2612,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseGrallocObjectsIMG + cl_error_code clEnqueueReleaseGrallocObjectsIMG cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2606,7 +2621,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clGetKernelSubGroupInfoKHR + cl_error_code clGetKernelSubGroupInfoKHR cl_kernel in_kernel cl_device_id in_device cl_kernel_sub_group_info param_name @@ -2617,7 +2632,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clGetKernelSuggestedLocalWorkSizeKHR + cl_error_code clGetKernelSuggestedLocalWorkSizeKHR cl_command_queue command_queue cl_kernel kernel cl_uint work_dim @@ -2629,10 +2644,10 @@ server's OpenCL/api-docs repository. cl_semaphore_khr clCreateSemaphoreWithPropertiesKHR cl_context context const cl_semaphore_properties_khr* sema_props - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueWaitSemaphoresKHR + cl_error_code clEnqueueWaitSemaphoresKHR cl_command_queue command_queue cl_uint num_sema_objects const cl_semaphore_khr* sema_objects @@ -2642,7 +2657,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSignalSemaphoresKHR + cl_error_code clEnqueueSignalSemaphoresKHR cl_command_queue command_queue cl_uint num_sema_objects const cl_semaphore_khr* sema_objects @@ -2652,7 +2667,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clGetSemaphoreInfoKHR + cl_error_code clGetSemaphoreInfoKHR cl_semaphore_khr sema_object cl_semaphore_info_khr param_name size_t param_value_size @@ -2660,15 +2675,15 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clReleaseSemaphoreKHR + cl_error_code clReleaseSemaphoreKHR cl_semaphore_khr sema_object - cl_int clRetainSemaphoreKHR + cl_error_code clRetainSemaphoreKHR cl_semaphore_khr sema_object - cl_int clGetSemaphoreHandleForTypeKHR + cl_error_code clGetSemaphoreHandleForTypeKHR cl_semaphore_khr sema_object cl_device_id device cl_external_semaphore_handle_type_khr handle_type @@ -2677,7 +2692,7 @@ server's OpenCL/api-docs repository. size_t* handle_size_ret - cl_int clEnqueueAcquireExternalMemObjectsKHR + cl_error_code clEnqueueAcquireExternalMemObjectsKHR cl_command_queue command_queue cl_uint num_mem_objects const cl_mem* mem_objects @@ -2686,7 +2701,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseExternalMemObjectsKHR + cl_error_code clEnqueueReleaseExternalMemObjectsKHR cl_command_queue command_queue cl_uint num_mem_objects const cl_mem* mem_objects @@ -2701,7 +2716,7 @@ server's OpenCL/api-docs repository. const cl_import_properties_arm* properties void* memory size_t size - cl_int* errcode_ret + cl_error_code* errcode_ret void* clSVMAllocARM @@ -2716,18 +2731,18 @@ server's OpenCL/api-docs repository. void* svm_pointer - cl_int clEnqueueSVMFreeARM + cl_error_code clEnqueueSVMFreeARM cl_command_queue command_queue cl_uint num_svm_pointers void* svm_pointers[] - void (CL_CALLBACK* pfn_free_func)(cl_command_queue queue, cl_uint num_svm_pointers, void * svm_pointers[], void *user_data) + void (CL_CALLBACK* pfn_free_func)(cl_command_queue queue, cl_uint num_svm_pointers, void* svm_pointers[], void* user_data) void* user_data cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_int clEnqueueSVMMemcpyARM + cl_error_code clEnqueueSVMMemcpyARM cl_command_queue command_queue cl_bool blocking_copy void* dst_ptr @@ -2738,7 +2753,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSVMMemFillARM + cl_error_code clEnqueueSVMMemFillARM cl_command_queue command_queue void* svm_ptr const void* pattern @@ -2749,7 +2764,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSVMMapARM + cl_error_code clEnqueueSVMMapARM cl_command_queue command_queue cl_bool blocking_map cl_map_flags flags @@ -2760,7 +2775,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSVMUnmapARM + cl_error_code clEnqueueSVMUnmapARM cl_command_queue command_queue void* svm_ptr cl_uint num_events_in_wait_list @@ -2768,13 +2783,13 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clSetKernelArgSVMPointerARM + cl_error_code clSetKernelArgSVMPointerARM cl_kernel kernel cl_uint arg_index const void* arg_value - cl_int clSetKernelExecInfoARM + cl_error_code clSetKernelExecInfoARM cl_kernel kernel cl_kernel_exec_info_arm param_name size_t param_value_size @@ -2786,10 +2801,10 @@ server's OpenCL/api-docs repository. cl_accelerator_type_intel accelerator_type size_t descriptor_size const void* descriptor - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clGetAcceleratorInfoINTEL + cl_error_code clGetAcceleratorInfoINTEL cl_accelerator_intel accelerator cl_accelerator_info_intel param_name size_t param_value_size @@ -2797,21 +2812,21 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clRetainAcceleratorINTEL + cl_error_code clRetainAcceleratorINTEL cl_accelerator_intel accelerator - cl_int clReleaseAcceleratorINTEL + cl_error_code clReleaseAcceleratorINTEL cl_accelerator_intel accelerator cl_event clCreateEventFromGLsyncKHR cl_context context cl_GLsync sync - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clGetGLContextInfoKHR + cl_error_code clGetGLContextInfoKHR const cl_context_properties* properties cl_gl_context_info param_name size_t param_value_size @@ -2823,7 +2838,7 @@ server's OpenCL/api-docs repository. cl_context context cl_mem_flags flags cl_GLuint bufobj - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateFromGLTexture @@ -2832,23 +2847,23 @@ server's OpenCL/api-docs repository. cl_GLenum target cl_GLint miplevel cl_GLuint texture - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateFromGLRenderbuffer cl_context context cl_mem_flags flags cl_GLuint renderbuffer - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clGetGLObjectInfo + cl_error_code clGetGLObjectInfo cl_mem memobj cl_gl_object_type* gl_object_type cl_GLuint* gl_object_name - cl_int clGetGLTextureInfo + cl_error_code clGetGLTextureInfo cl_mem memobj cl_gl_texture_info param_name size_t param_value_size @@ -2856,7 +2871,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clEnqueueAcquireGLObjects + cl_error_code clEnqueueAcquireGLObjects cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2865,7 +2880,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseGLObjects + cl_error_code clEnqueueReleaseGLObjects cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2880,7 +2895,7 @@ server's OpenCL/api-docs repository. cl_GLenum target cl_GLint miplevel cl_GLuint texture - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateFromGLTexture3D @@ -2889,10 +2904,10 @@ server's OpenCL/api-docs repository. cl_GLenum target cl_GLint miplevel cl_GLuint texture - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clGetDeviceIDsFromVA_APIMediaAdapterINTEL + cl_error_code clGetDeviceIDsFromVA_APIMediaAdapterINTEL cl_platform_id platform cl_va_api_device_source_intel media_adapter_type void* media_adapter @@ -2907,10 +2922,10 @@ server's OpenCL/api-docs repository. cl_mem_flags flags VASurfaceID* surface cl_uint plane - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueAcquireVA_APIMediaSurfacesINTEL + cl_error_code clEnqueueAcquireVA_APIMediaSurfacesINTEL cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2919,7 +2934,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReleaseVA_APIMediaSurfacesINTEL + cl_error_code clEnqueueReleaseVA_APIMediaSurfacesINTEL cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2933,7 +2948,7 @@ server's OpenCL/api-docs repository. const cl_mem_properties_intel* properties size_t size cl_uint alignment - cl_int* errcode_ret + cl_error_code* errcode_ret void* clDeviceMemAllocINTEL @@ -2942,7 +2957,7 @@ server's OpenCL/api-docs repository. const cl_mem_properties_intel* properties size_t size cl_uint alignment - cl_int* errcode_ret + cl_error_code* errcode_ret void* clSharedMemAllocINTEL @@ -2951,35 +2966,35 @@ server's OpenCL/api-docs repository. const cl_mem_properties_intel* properties size_t size cl_uint alignment - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clMemFreeINTEL + cl_error_code clMemFreeINTEL cl_context context void* ptr - cl_int clMemBlockingFreeINTEL + cl_error_code clMemBlockingFreeINTEL cl_context context void* ptr - cl_int clGetMemAllocInfoINTEL + cl_error_code clGetMemAllocInfoINTEL cl_context context const void* ptr - cl_mem_info_intel param_name + cl_mem_info param_name size_t param_value_size void* param_value size_t* param_value_size_ret - cl_int clSetKernelArgMemPointerINTEL + cl_error_code clSetKernelArgMemPointerINTEL cl_kernel kernel cl_uint arg_index const void* arg_value - cl_int clEnqueueMemsetINTEL + cl_error_code clEnqueueMemsetINTEL cl_command_queue command_queue void* dst_ptr cl_int value @@ -2989,7 +3004,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueMemFillINTEL + cl_error_code clEnqueueMemFillINTEL cl_command_queue command_queue void* dst_ptr const void* pattern @@ -3000,7 +3015,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueMemcpyINTEL + cl_error_code clEnqueueMemcpyINTEL cl_command_queue command_queue cl_bool blocking void* dst_ptr @@ -3011,7 +3026,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueMigrateMemINTEL + cl_error_code clEnqueueMigrateMemINTEL cl_command_queue command_queue const void* ptr size_t size @@ -3021,7 +3036,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueMemAdviseINTEL + cl_error_code clEnqueueMemAdviseINTEL cl_command_queue command_queue const void* ptr size_t size @@ -3037,29 +3052,29 @@ server's OpenCL/api-docs repository. cl_mem_flags flags size_t size void* host_ptr - cl_int* errcode_ret + cl_error_code* errcode_ret cl_command_buffer_khr clCreateCommandBufferKHR cl_uint num_queues const cl_command_queue* queues const cl_command_buffer_properties_khr* properties - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clFinalizeCommandBufferKHR + cl_error_code clFinalizeCommandBufferKHR cl_command_buffer_khr command_buffer - cl_int clRetainCommandBufferKHR + cl_error_code clRetainCommandBufferKHR cl_command_buffer_khr command_buffer - cl_int clReleaseCommandBufferKHR + cl_error_code clReleaseCommandBufferKHR cl_command_buffer_khr command_buffer - cl_int clEnqueueCommandBufferKHR + cl_error_code clEnqueueCommandBufferKHR cl_uint num_queues cl_command_queue* queues cl_command_buffer_khr command_buffer @@ -3068,7 +3083,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clCommandBarrierWithWaitListKHR + cl_error_code clCommandBarrierWithWaitListKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_uint num_sync_points_in_wait_list @@ -3077,7 +3092,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clCommandCopyBufferKHR + cl_error_code clCommandCopyBufferKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_buffer @@ -3091,7 +3106,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clCommandCopyBufferRectKHR + cl_error_code clCommandCopyBufferRectKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_buffer @@ -3109,7 +3124,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clCommandCopyBufferToImageKHR + cl_error_code clCommandCopyBufferToImageKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_buffer @@ -3123,7 +3138,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clCommandCopyImageKHR + cl_error_code clCommandCopyImageKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_image @@ -3137,7 +3152,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clCommandCopyImageToBufferKHR + cl_error_code clCommandCopyImageToBufferKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_image @@ -3151,7 +3166,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clCommandFillBufferKHR + cl_error_code clCommandFillBufferKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem buffer @@ -3165,7 +3180,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clCommandFillImageKHR + cl_error_code clCommandFillImageKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem image @@ -3178,7 +3193,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clCommandNDRangeKernelKHR + cl_error_code clCommandNDRangeKernelKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue const cl_ndrange_kernel_command_properties_khr* properties @@ -3193,7 +3208,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_int clGetCommandBufferInfoKHR + cl_error_code clGetCommandBufferInfoKHR cl_command_buffer_khr command_buffer cl_command_buffer_info_khr param_name size_t param_value_size @@ -3201,12 +3216,12 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clUpdateMutableCommandsKHR + cl_error_code clUpdateMutableCommandsKHR cl_command_buffer_khr command_buffer const cl_mutable_base_config_khr* mutable_config - cl_int clGetMutableCommandInfoKHR + cl_error_code clGetMutableCommandInfoKHR cl_mutable_command_khr command cl_mutable_command_info_khr param_name size_t param_value_size @@ -3222,21 +3237,21 @@ server's OpenCL/api-docs repository. cl_uint num_handles const cl_mutable_command_khr* handles cl_mutable_command_khr* handles_ret - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clSetContentSizeBufferPoCL + cl_error_code clSetContentSizeBufferPoCL cl_mem buffer cl_mem content_size_buffer - cl_int clGetPlatformIDs + cl_error_code clGetPlatformIDs cl_uint num_entries cl_platform_id* platforms cl_uint* num_platforms - cl_int clGetPlatformInfo + cl_error_code clGetPlatformInfo cl_platform_id platform cl_platform_info param_name size_t param_value_size @@ -3244,7 +3259,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clGetDeviceIDs + cl_error_code clGetDeviceIDs cl_platform_id platform cl_device_type device_type cl_uint num_entries @@ -3252,7 +3267,7 @@ server's OpenCL/api-docs repository. cl_uint* num_devices - cl_int clGetDeviceInfo + cl_error_code clGetDeviceInfo cl_device_id device cl_device_info param_name size_t param_value_size @@ -3260,7 +3275,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clCreateSubDevices + cl_error_code clCreateSubDevices cl_device_id in_device const cl_device_partition_property* properties cl_uint num_devices @@ -3268,27 +3283,27 @@ server's OpenCL/api-docs repository. cl_uint* num_devices_ret - cl_int clRetainDevice + cl_error_code clRetainDevice cl_device_id device - cl_int clReleaseDevice + cl_error_code clReleaseDevice cl_device_id device - cl_int clSetDefaultDeviceCommandQueue + cl_error_code clSetDefaultDeviceCommandQueue cl_context context cl_device_id device cl_command_queue command_queue - cl_int clGetDeviceAndHostTimer + cl_error_code clGetDeviceAndHostTimer cl_device_id device cl_ulong* device_timestamp cl_ulong* host_timestamp - cl_int clGetHostTimer + cl_error_code clGetHostTimer cl_device_id device cl_ulong* host_timestamp @@ -3299,7 +3314,7 @@ server's OpenCL/api-docs repository. const cl_device_id* devices void (CL_CALLBACK* pfn_notify)(const char* errinfo, const void* private_info, size_t cb, void* user_data) void* user_data - cl_int* errcode_ret + cl_error_code* errcode_ret cl_context clCreateContextFromType @@ -3307,18 +3322,18 @@ server's OpenCL/api-docs repository. cl_device_type device_type void (CL_CALLBACK* pfn_notify)(const char* errinfo, const void* private_info, size_t cb, void* user_data) void* user_data - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clRetainContext + cl_error_code clRetainContext cl_context context - cl_int clReleaseContext + cl_error_code clReleaseContext cl_context context - cl_int clGetContextInfo + cl_error_code clGetContextInfo cl_context context cl_context_info param_name size_t param_value_size @@ -3326,7 +3341,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clSetContextDestructorCallback + cl_error_code clSetContextDestructorCallback cl_context context void (CL_CALLBACK* pfn_notify)(cl_context context, void* user_data) void* user_data @@ -3336,18 +3351,18 @@ server's OpenCL/api-docs repository. cl_context context cl_device_id device const cl_queue_properties* properties - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clRetainCommandQueue + cl_error_code clRetainCommandQueue cl_command_queue command_queue - cl_int clReleaseCommandQueue + cl_error_code clReleaseCommandQueue cl_command_queue command_queue - cl_int clGetCommandQueueInfo + cl_error_code clGetCommandQueueInfo cl_command_queue command_queue cl_command_queue_info param_name size_t param_value_size @@ -3360,7 +3375,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags size_t size void* host_ptr - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateBufferWithProperties @@ -3369,7 +3384,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags size_t size void* host_ptr - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateSubBuffer @@ -3377,7 +3392,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags cl_buffer_create_type buffer_create_type const void* buffer_create_info - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateImage @@ -3386,7 +3401,7 @@ server's OpenCL/api-docs repository. const cl_image_format* image_format const cl_image_desc* image_desc void* host_ptr - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateImageWithProperties @@ -3396,7 +3411,7 @@ server's OpenCL/api-docs repository. const cl_image_format* image_format const cl_image_desc* image_desc void* host_ptr - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreatePipe @@ -3405,18 +3420,18 @@ server's OpenCL/api-docs repository. cl_uint pipe_packet_size cl_uint pipe_max_packets const cl_pipe_properties* properties - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clRetainMemObject + cl_error_code clRetainMemObject cl_mem memobj - cl_int clReleaseMemObject + cl_error_code clReleaseMemObject cl_mem memobj - cl_int clGetSupportedImageFormats + cl_error_code clGetSupportedImageFormats cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -3425,7 +3440,7 @@ server's OpenCL/api-docs repository. cl_uint* num_image_formats - cl_int clGetMemObjectInfo + cl_error_code clGetMemObjectInfo cl_mem memobj cl_mem_info param_name size_t param_value_size @@ -3433,7 +3448,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clGetImageInfo + cl_error_code clGetImageInfo cl_mem image cl_image_info param_name size_t param_value_size @@ -3441,7 +3456,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clGetPipeInfo + cl_error_code clGetPipeInfo cl_mem pipe cl_pipe_info param_name size_t param_value_size @@ -3449,13 +3464,13 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clSetMemObjectDestructorCallback + cl_error_code clSetMemObjectDestructorCallback cl_mem memobj void (CL_CALLBACK* pfn_notify)(cl_mem memobj, void* user_data) void* user_data - cl_int clSetMemObjectDestructorAPPLE + cl_error_code clSetMemObjectDestructorAPPLE cl_mem memobj void (CL_CALLBACK* pfn_notify)(cl_mem memobj, void* user_data) void* user_data @@ -3476,18 +3491,18 @@ server's OpenCL/api-docs repository. cl_sampler clCreateSamplerWithProperties cl_context context const cl_sampler_properties* sampler_properties - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clRetainSampler + cl_error_code clRetainSampler cl_sampler sampler - cl_int clReleaseSampler + cl_error_code clReleaseSampler cl_sampler sampler - cl_int clGetSamplerInfo + cl_error_code clGetSamplerInfo cl_sampler sampler cl_sampler_info param_name size_t param_value_size @@ -3500,7 +3515,7 @@ server's OpenCL/api-docs repository. cl_uint count const char** strings const size_t* lengths - cl_int* errcode_ret + cl_error_code* errcode_ret cl_program clCreateProgramWithBinary @@ -3509,8 +3524,8 @@ server's OpenCL/api-docs repository. const cl_device_id* device_list const size_t* lengths const unsigned char** binaries - cl_int* binary_status - cl_int* errcode_ret + cl_error_code* binary_status + cl_error_code* errcode_ret cl_program clCreateProgramWithBuiltInKernels @@ -3518,25 +3533,25 @@ server's OpenCL/api-docs repository. cl_uint num_devices const cl_device_id* device_list const char* kernel_names - cl_int* errcode_ret + cl_error_code* errcode_ret cl_program clCreateProgramWithIL cl_context context const void* il size_t length - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clRetainProgram + cl_error_code clRetainProgram cl_program program - cl_int clReleaseProgram + cl_error_code clReleaseProgram cl_program program - cl_int clBuildProgram + cl_error_code clBuildProgram cl_program program cl_uint num_devices const cl_device_id* device_list @@ -3545,7 +3560,7 @@ server's OpenCL/api-docs repository. void* user_data - cl_int clCompileProgram + cl_error_code clCompileProgram cl_program program cl_uint num_devices const cl_device_id* device_list @@ -3566,27 +3581,27 @@ server's OpenCL/api-docs repository. const cl_program* input_programs void (CL_CALLBACK* pfn_notify)(cl_program program, void* user_data) void* user_data - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clSetProgramReleaseCallback + cl_error_code clSetProgramReleaseCallback cl_program program void (CL_CALLBACK* pfn_notify)(cl_program program, void* user_data) void* user_data - cl_int clSetProgramSpecializationConstant + cl_error_code clSetProgramSpecializationConstant cl_program program cl_uint spec_id size_t spec_size const void* spec_value - cl_int clUnloadPlatformCompiler + cl_error_code clUnloadPlatformCompiler cl_platform_id platform - cl_int clGetProgramInfo + cl_error_code clGetProgramInfo cl_program program cl_program_info param_name size_t param_value_size @@ -3594,7 +3609,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clGetProgramBuildInfo + cl_error_code clGetProgramBuildInfo cl_program program cl_device_id device cl_program_build_info param_name @@ -3606,10 +3621,10 @@ server's OpenCL/api-docs repository. cl_kernel clCreateKernel cl_program program const char* kernel_name - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clCreateKernelsInProgram + cl_error_code clCreateKernelsInProgram cl_program program cl_uint num_kernels cl_kernel* kernels @@ -3618,38 +3633,38 @@ server's OpenCL/api-docs repository. cl_kernel clCloneKernel cl_kernel source_kernel - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clRetainKernel + cl_error_code clRetainKernel cl_kernel kernel - cl_int clReleaseKernel + cl_error_code clReleaseKernel cl_kernel kernel - cl_int clSetKernelArg + cl_error_code clSetKernelArg cl_kernel kernel cl_uint arg_index size_t arg_size const void* arg_value - cl_int clSetKernelArgSVMPointer + cl_error_code clSetKernelArgSVMPointer cl_kernel kernel cl_uint arg_index const void* arg_value - cl_int clSetKernelExecInfo + cl_error_code clSetKernelExecInfo cl_kernel kernel cl_kernel_exec_info param_name size_t param_value_size const void* param_value - cl_int clGetKernelInfo + cl_error_code clGetKernelInfo cl_kernel kernel cl_kernel_info param_name size_t param_value_size @@ -3657,7 +3672,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clGetKernelArgInfo + cl_error_code clGetKernelArgInfo cl_kernel kernel cl_uint arg_index cl_kernel_arg_info param_name @@ -3666,7 +3681,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clGetKernelWorkGroupInfo + cl_error_code clGetKernelWorkGroupInfo cl_kernel kernel cl_device_id device cl_kernel_work_group_info param_name @@ -3675,7 +3690,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clGetKernelSubGroupInfo + cl_error_code clGetKernelSubGroupInfo cl_kernel kernel cl_device_id device cl_kernel_sub_group_info param_name @@ -3686,12 +3701,12 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clWaitForEvents + cl_error_code clWaitForEvents cl_uint num_events const cl_event* event_list - cl_int clGetEventInfo + cl_error_code clGetEventInfo cl_event event cl_event_info param_name size_t param_value_size @@ -3701,30 +3716,30 @@ server's OpenCL/api-docs repository. cl_event clCreateUserEvent cl_context context - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clRetainEvent + cl_error_code clRetainEvent cl_event event - cl_int clReleaseEvent + cl_error_code clReleaseEvent cl_event event - cl_int clSetUserEventStatus + cl_error_code clSetUserEventStatus cl_event event - cl_int execution_status + cl_command_execution_status execution_status - cl_int clSetEventCallback + cl_error_code clSetEventCallback cl_event event - cl_int command_exec_callback_type - void (CL_CALLBACK* pfn_notify)(cl_event event, cl_int event_command_status, void *user_data) + cl_command_execution_status command_exec_callback_type + void (CL_CALLBACK* pfn_notify)(cl_event event, cl_command_execution_status event_command_status, void* user_data) void* user_data - cl_int clGetEventProfilingInfo + cl_error_code clGetEventProfilingInfo cl_event event cl_profiling_info param_name size_t param_value_size @@ -3732,15 +3747,15 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_int clFlush + cl_error_code clFlush cl_command_queue command_queue - cl_int clFinish + cl_error_code clFinish cl_command_queue command_queue - cl_int clEnqueueReadBuffer + cl_error_code clEnqueueReadBuffer cl_command_queue command_queue cl_mem buffer cl_bool blocking_read @@ -3752,7 +3767,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReadBufferRect + cl_error_code clEnqueueReadBufferRect cl_command_queue command_queue cl_mem buffer cl_bool blocking_read @@ -3769,7 +3784,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueWriteBuffer + cl_error_code clEnqueueWriteBuffer cl_command_queue command_queue cl_mem buffer cl_bool blocking_write @@ -3781,7 +3796,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueWriteBufferRect + cl_error_code clEnqueueWriteBufferRect cl_command_queue command_queue cl_mem buffer cl_bool blocking_write @@ -3798,7 +3813,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueFillBuffer + cl_error_code clEnqueueFillBuffer cl_command_queue command_queue cl_mem buffer const void* pattern @@ -3810,7 +3825,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueCopyBuffer + cl_error_code clEnqueueCopyBuffer cl_command_queue command_queue cl_mem src_buffer cl_mem dst_buffer @@ -3822,7 +3837,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueCopyBufferRect + cl_error_code clEnqueueCopyBufferRect cl_command_queue command_queue cl_mem src_buffer cl_mem dst_buffer @@ -3838,7 +3853,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueReadImage + cl_error_code clEnqueueReadImage cl_command_queue command_queue cl_mem image cl_bool blocking_read @@ -3852,7 +3867,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueWriteImage + cl_error_code clEnqueueWriteImage cl_command_queue command_queue cl_mem image cl_bool blocking_write @@ -3866,7 +3881,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueFillImage + cl_error_code clEnqueueFillImage cl_command_queue command_queue cl_mem image const void* fill_color @@ -3877,7 +3892,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueCopyImage + cl_error_code clEnqueueCopyImage cl_command_queue command_queue cl_mem src_image cl_mem dst_image @@ -3889,7 +3904,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueCopyImageToBuffer + cl_error_code clEnqueueCopyImageToBuffer cl_command_queue command_queue cl_mem src_image cl_mem dst_buffer @@ -3901,7 +3916,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueCopyBufferToImage + cl_error_code clEnqueueCopyBufferToImage cl_command_queue command_queue cl_mem src_buffer cl_mem dst_image @@ -3923,7 +3938,7 @@ server's OpenCL/api-docs repository. cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_int* errcode_ret + cl_error_code* errcode_ret void* clEnqueueMapImage @@ -3938,10 +3953,10 @@ server's OpenCL/api-docs repository. cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueUnmapMemObject + cl_error_code clEnqueueUnmapMemObject cl_command_queue command_queue cl_mem memobj void* mapped_ptr @@ -3950,7 +3965,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueMigrateMemObjects + cl_error_code clEnqueueMigrateMemObjects cl_command_queue command_queue cl_uint num_mem_objects const cl_mem* mem_objects @@ -3960,7 +3975,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueNDRangeKernel + cl_error_code clEnqueueNDRangeKernel cl_command_queue command_queue cl_kernel kernel cl_uint work_dim @@ -3972,7 +3987,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueNativeKernel + cl_error_code clEnqueueNativeKernel cl_command_queue command_queue void (CL_CALLBACK* user_func)(void*) void* args @@ -3985,21 +4000,21 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueMarkerWithWaitList + cl_error_code clEnqueueMarkerWithWaitList cl_command_queue command_queue cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_int clEnqueueBarrierWithWaitList + cl_error_code clEnqueueBarrierWithWaitList cl_command_queue command_queue cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_int clEnqueueSVMFree + cl_error_code clEnqueueSVMFree cl_command_queue command_queue cl_uint num_svm_pointers void* svm_pointers[] @@ -4010,7 +4025,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSVMMemcpy + cl_error_code clEnqueueSVMMemcpy cl_command_queue command_queue cl_bool blocking_copy void* dst_ptr @@ -4021,7 +4036,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSVMMemFill + cl_error_code clEnqueueSVMMemFill cl_command_queue command_queue void* svm_ptr const void* pattern @@ -4032,7 +4047,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSVMMap + cl_error_code clEnqueueSVMMap cl_command_queue command_queue cl_bool blocking_map cl_map_flags flags @@ -4043,7 +4058,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSVMUnmap + cl_error_code clEnqueueSVMUnmap cl_command_queue command_queue void* svm_ptr cl_uint num_events_in_wait_list @@ -4051,7 +4066,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueSVMMigrateMem + cl_error_code clEnqueueSVMMigrateMem cl_command_queue command_queue cl_uint num_svm_pointers const void** svm_pointers @@ -4067,7 +4082,7 @@ server's OpenCL/api-docs repository. const char* func_name - cl_int clSetCommandQueueProperty + cl_error_code clSetCommandQueueProperty cl_command_queue command_queue cl_command_queue_properties properties cl_bool enable @@ -4082,7 +4097,7 @@ server's OpenCL/api-docs repository. size_t image_height size_t image_row_pitch void* host_ptr - cl_int* errcode_ret + cl_error_code* errcode_ret cl_mem clCreateImage3D @@ -4095,25 +4110,25 @@ server's OpenCL/api-docs repository. size_t image_row_pitch size_t image_slice_pitch void* host_ptr - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueMarker + cl_error_code clEnqueueMarker cl_command_queue command_queue cl_event* event - cl_int clEnqueueWaitForEvents + cl_error_code clEnqueueWaitForEvents cl_command_queue command_queue cl_uint num_events const cl_event* event_list - cl_int clEnqueueBarrier + cl_error_code clEnqueueBarrier cl_command_queue command_queue - cl_int clUnloadCompiler + cl_error_code clUnloadCompiler void* clGetExtensionFunctionAddress @@ -4124,7 +4139,7 @@ server's OpenCL/api-docs repository. cl_context context cl_device_id device cl_command_queue_properties properties - cl_int* errcode_ret + cl_error_code* errcode_ret cl_sampler clCreateSampler @@ -4132,10 +4147,10 @@ server's OpenCL/api-docs repository. cl_bool normalized_coords cl_addressing_mode addressing_mode cl_filter_mode filter_mode - cl_int* errcode_ret + cl_error_code* errcode_ret - cl_int clEnqueueTask + cl_error_code clEnqueueTask cl_command_queue command_queue cl_kernel kernel cl_uint num_events_in_wait_list @@ -4143,28 +4158,28 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clGetLayerInfo + cl_error_code clGetLayerInfo cl_layer_info param_name size_t param_value_size void* param_value size_t* param_value_size_ret - cl_int clInitLayer + cl_error_code clInitLayer cl_uint num_entries const cl_icd_dispatch* target_dispatch cl_uint* num_entries_ret const cl_icd_dispatch** layer_dispatch_ret - cl_int clGetICDLoaderInfoOCLICD + cl_error_code clGetICDLoaderInfoOCLICD cl_icdl_info param_name size_t param_value_size void* param_value size_t* param_value_size_ret - cl_int clGetSupportedGLTextureFormatsINTEL + cl_error_code clGetSupportedGLTextureFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4173,7 +4188,7 @@ server's OpenCL/api-docs repository. cl_uint* num_texture_formats - cl_int clGetSupportedDX9MediaSurfaceFormatsINTEL + cl_error_code clGetSupportedDX9MediaSurfaceFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4183,7 +4198,7 @@ server's OpenCL/api-docs repository. cl_uint* num_surface_formats - cl_int clGetSupportedD3D10TextureFormatsINTEL + cl_error_code clGetSupportedD3D10TextureFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4192,7 +4207,7 @@ server's OpenCL/api-docs repository. cl_uint* num_texture_formats - cl_int clGetSupportedD3D11TextureFormatsINTEL + cl_error_code clGetSupportedD3D11TextureFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4202,7 +4217,7 @@ server's OpenCL/api-docs repository. cl_uint* num_texture_formats - cl_int clGetSupportedVA_APIMediaSurfaceFormatsINTEL + cl_error_code clGetSupportedVA_APIMediaSurfaceFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4212,7 +4227,7 @@ server's OpenCL/api-docs repository. cl_uint* num_surface_formats - cl_int clEnqueueReadHostPipeINTEL + cl_error_code clEnqueueReadHostPipeINTEL cl_command_queue command_queue cl_program program const char* pipe_symbol @@ -4224,7 +4239,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clEnqueueWriteHostPipeINTEL + cl_error_code clEnqueueWriteHostPipeINTEL cl_command_queue command_queue cl_program program const char* pipe_symbol @@ -4236,7 +4251,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_int clGetImageRequirementsInfoEXT + cl_error_code clGetImageRequirementsInfoEXT cl_context context const cl_mem_properties* properties cl_mem_flags flags @@ -4299,7 +4314,7 @@ server's OpenCL/api-docs repository. - + @@ -4341,7 +4356,7 @@ server's OpenCL/api-docs repository. - + @@ -4390,25 +4405,25 @@ server's OpenCL/api-docs repository. - + - + - + - + @@ -4458,7 +4473,7 @@ server's OpenCL/api-docs repository. - + @@ -4466,38 +4481,47 @@ server's OpenCL/api-docs repository. - + - + - + - + + - + - + - + - + + + + + + + + + @@ -4505,13 +4529,13 @@ server's OpenCL/api-docs repository. - + - + @@ -4523,7 +4547,7 @@ server's OpenCL/api-docs repository. - + @@ -4540,12 +4564,12 @@ server's OpenCL/api-docs repository. - + - + @@ -4554,7 +4578,7 @@ server's OpenCL/api-docs repository. - + @@ -4563,28 +4587,28 @@ server's OpenCL/api-docs repository. - + - + - + - + - + @@ -4593,38 +4617,38 @@ server's OpenCL/api-docs repository. - + - + - + - + - + - + @@ -4643,13 +4667,13 @@ server's OpenCL/api-docs repository. - + - + @@ -6469,38 +6516,38 @@ server's OpenCL/api-docs repository. - + - + - + - - - - + + + + - + - + - + @@ -6532,46 +6579,47 @@ server's OpenCL/api-docs repository. - + - + - + - + - + + - + - + - + @@ -6597,11 +6645,11 @@ server's OpenCL/api-docs repository. - + - + @@ -6618,7 +6666,7 @@ server's OpenCL/api-docs repository. - + @@ -6626,10 +6674,10 @@ server's OpenCL/api-docs repository. - + - + @@ -6637,7 +6685,7 @@ server's OpenCL/api-docs repository. - + @@ -6646,32 +6694,32 @@ server's OpenCL/api-docs repository. - + - + - + - + - + - + @@ -6679,12 +6727,12 @@ server's OpenCL/api-docs repository. - + - + @@ -6702,18 +6750,18 @@ server's OpenCL/api-docs repository. - + - + - + @@ -6725,11 +6773,11 @@ server's OpenCL/api-docs repository. - + - + @@ -6740,10 +6788,10 @@ server's OpenCL/api-docs repository. - + - + @@ -6751,21 +6799,21 @@ server's OpenCL/api-docs repository. - + - + - + - + - + @@ -6779,20 +6827,24 @@ server's OpenCL/api-docs repository. - + - + - + - + + + + + @@ -6819,7 +6871,7 @@ server's OpenCL/api-docs repository. - + @@ -6838,11 +6890,11 @@ server's OpenCL/api-docs repository. - + - + @@ -6860,11 +6912,11 @@ server's OpenCL/api-docs repository. - + - + @@ -6881,31 +6933,33 @@ server's OpenCL/api-docs repository. - + - + - + - + + + - + - + - + @@ -6925,18 +6979,21 @@ server's OpenCL/api-docs repository. - + - + - + + + + @@ -6945,7 +7002,7 @@ server's OpenCL/api-docs repository. - + @@ -6953,7 +7010,7 @@ server's OpenCL/api-docs repository. - + @@ -6961,7 +7018,7 @@ server's OpenCL/api-docs repository. - + @@ -6969,7 +7026,7 @@ server's OpenCL/api-docs repository. - + @@ -6981,17 +7038,17 @@ server's OpenCL/api-docs repository. - + - + - + - + @@ -7004,7 +7061,7 @@ server's OpenCL/api-docs repository. - + @@ -7012,7 +7069,7 @@ server's OpenCL/api-docs repository. - + @@ -7023,7 +7080,7 @@ server's OpenCL/api-docs repository. - + @@ -7031,7 +7088,7 @@ server's OpenCL/api-docs repository. - + @@ -7086,28 +7143,28 @@ server's OpenCL/api-docs repository. - + - + - + - + - + - + @@ -7115,13 +7172,13 @@ server's OpenCL/api-docs repository. - + - + @@ -7143,7 +7200,7 @@ server's OpenCL/api-docs repository. - + @@ -7154,7 +7211,7 @@ server's OpenCL/api-docs repository. - + @@ -7162,7 +7219,7 @@ server's OpenCL/api-docs repository. - + @@ -7172,11 +7229,11 @@ server's OpenCL/api-docs repository. - + - + @@ -7189,7 +7246,7 @@ server's OpenCL/api-docs repository. - + @@ -7203,15 +7260,15 @@ server's OpenCL/api-docs repository. - + - + - + @@ -7228,27 +7285,27 @@ server's OpenCL/api-docs repository. - + - + - + - + - + - + @@ -7259,7 +7316,7 @@ server's OpenCL/api-docs repository. - + @@ -7269,12 +7326,12 @@ server's OpenCL/api-docs repository. - + - + @@ -7286,22 +7343,23 @@ server's OpenCL/api-docs repository. - + - + - + + - + - + From aac8da7f55dc082e14ca86a64a1af176a7a91e30 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Tue, 23 May 2023 09:09:01 +0300 Subject: [PATCH 02/21] Bring back `cl_sampler_info` --- xml/cl.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/cl.xml b/xml/cl.xml index e57c6495c..0e37a6152 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -5139,7 +5139,7 @@ server's OpenCL/api-docs repository. - + From eefb87a8d2f94ec62b042fe0a1836f3fd84bd71b Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Wed, 24 May 2023 17:51:02 +0300 Subject: [PATCH 03/21] Bring back `cl_mem_info_intel` --- xml/cl.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/cl.xml b/xml/cl.xml index 0e37a6152..83df492e0 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -2982,7 +2982,7 @@ server's OpenCL/api-docs repository. cl_error_code clGetMemAllocInfoINTEL cl_context context const void* ptr - cl_mem_info param_name + cl_mem_info_intel param_name size_t param_value_size void* param_value size_t* param_value_size_ret From 7bdbe20d6341e86777ed610703be9181c27c5638 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sat, 1 Jul 2023 13:38:51 +0300 Subject: [PATCH 04/21] split off changes to --- xml/cl.xml | 466 ++++++++++++++++++++++++++--------------------------- 1 file changed, 233 insertions(+), 233 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 83df492e0..19df93a7d 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -2298,7 +2298,7 @@ server's OpenCL/api-docs repository. - cl_error_code clGetDeviceIDsFromD3D10KHR + cl_int clGetDeviceIDsFromD3D10KHR cl_platform_id platform cl_d3d10_device_source_khr d3d_device_source void* d3d_object @@ -2312,7 +2312,7 @@ server's OpenCL/api-docs repository. cl_context context cl_mem_flags flags ID3D10Buffer* resource - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateFromD3D10Texture2DKHR @@ -2320,7 +2320,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags ID3D10Texture2D* resource UINT subresource - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateFromD3D10Texture3DKHR @@ -2328,10 +2328,10 @@ server's OpenCL/api-docs repository. cl_mem_flags flags ID3D10Texture3D* resource UINT subresource - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueAcquireD3D10ObjectsKHR + cl_int clEnqueueAcquireD3D10ObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2340,7 +2340,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseD3D10ObjectsKHR + cl_int clEnqueueReleaseD3D10ObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2349,7 +2349,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clGetDeviceIDsFromD3D11KHR + cl_int clGetDeviceIDsFromD3D11KHR cl_platform_id platform cl_d3d11_device_source_khr d3d_device_source void* d3d_object @@ -2363,7 +2363,7 @@ server's OpenCL/api-docs repository. cl_context context cl_mem_flags flags ID3D11Buffer* resource - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateFromD3D11Texture2DKHR @@ -2371,7 +2371,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags ID3D11Texture2D* resource UINT subresource - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateFromD3D11Texture3DKHR @@ -2379,10 +2379,10 @@ server's OpenCL/api-docs repository. cl_mem_flags flags ID3D11Texture3D* resource UINT subresource - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueAcquireD3D11ObjectsKHR + cl_int clEnqueueAcquireD3D11ObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2391,7 +2391,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseD3D11ObjectsKHR + cl_int clEnqueueReleaseD3D11ObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2400,7 +2400,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clGetDeviceIDsFromDX9MediaAdapterKHR + cl_int clGetDeviceIDsFromDX9MediaAdapterKHR cl_platform_id platform cl_uint num_media_adapters cl_dx9_media_adapter_type_khr* media_adapter_type @@ -2417,10 +2417,10 @@ server's OpenCL/api-docs repository. cl_dx9_media_adapter_type_khr adapter_type void* surface_info cl_uint plane - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueAcquireDX9MediaSurfacesKHR + cl_int clEnqueueAcquireDX9MediaSurfacesKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2429,7 +2429,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseDX9MediaSurfacesKHR + cl_int clEnqueueReleaseDX9MediaSurfacesKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2438,7 +2438,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clGetDeviceIDsFromDX9INTEL + cl_int clGetDeviceIDsFromDX9INTEL cl_platform_id platform cl_dx9_device_source_intel dx9_device_source void* dx9_object @@ -2454,10 +2454,10 @@ server's OpenCL/api-docs repository. IDirect3DSurface9* resource HANDLE sharedHandle UINT plane - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueAcquireDX9ObjectsINTEL + cl_int clEnqueueAcquireDX9ObjectsINTEL cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2466,7 +2466,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseDX9ObjectsINTEL + cl_int clEnqueueReleaseDX9ObjectsINTEL cl_command_queue command_queue cl_uint num_objects cl_mem* mem_objects @@ -2479,7 +2479,7 @@ server's OpenCL/api-docs repository. cl_context context CLeglSyncKHR sync CLeglDisplayKHR display - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateFromEGLImageKHR @@ -2488,10 +2488,10 @@ server's OpenCL/api-docs repository. CLeglImageKHR eglimage cl_mem_flags flags const cl_egl_image_properties_khr* properties - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueAcquireEGLObjectsKHR + cl_int clEnqueueAcquireEGLObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2500,7 +2500,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseEGLObjectsKHR + cl_int clEnqueueReleaseEGLObjectsKHR cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2530,7 +2530,7 @@ server's OpenCL/api-docs repository. void* user_data - cl_error_code clIcdGetPlatformIDsKHR + cl_int clIcdGetPlatformIDsKHR cl_uint num_entries cl_platform_id* platforms cl_uint* num_platforms @@ -2540,10 +2540,10 @@ server's OpenCL/api-docs repository. cl_context context const void* il size_t length - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clTerminateContextKHR + cl_int clTerminateContextKHR cl_context context @@ -2551,18 +2551,18 @@ server's OpenCL/api-docs repository. cl_context context cl_device_id device const cl_queue_properties_khr* properties - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clReleaseDeviceEXT + cl_int clReleaseDeviceEXT cl_device_id device - cl_error_code clRetainDeviceEXT + cl_int clRetainDeviceEXT cl_device_id device - cl_error_code clCreateSubDevicesEXT + cl_int clCreateSubDevicesEXT cl_device_id in_device const cl_device_partition_property_ext* properties cl_uint num_entries @@ -2570,7 +2570,7 @@ server's OpenCL/api-docs repository. cl_uint* num_devices - cl_error_code clEnqueueMigrateMemObjectEXT + cl_int clEnqueueMigrateMemObjectEXT cl_command_queue command_queue cl_uint num_mem_objects const cl_mem* mem_objects @@ -2580,7 +2580,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clGetDeviceImageInfoQCOM + cl_int clGetDeviceImageInfoQCOM cl_device_id device size_t image_width size_t image_height @@ -2591,7 +2591,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clEnqueueAcquireGrallocObjectsIMG + cl_int clEnqueueAcquireGrallocObjectsIMG cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2600,7 +2600,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueGenerateMipmapIMG + cl_int clEnqueueGenerateMipmapIMG cl_command_queue command_queue cl_mem src_image cl_mem dst_image @@ -2612,7 +2612,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseGrallocObjectsIMG + cl_int clEnqueueReleaseGrallocObjectsIMG cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2621,7 +2621,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clGetKernelSubGroupInfoKHR + cl_int clGetKernelSubGroupInfoKHR cl_kernel in_kernel cl_device_id in_device cl_kernel_sub_group_info param_name @@ -2632,7 +2632,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clGetKernelSuggestedLocalWorkSizeKHR + cl_int clGetKernelSuggestedLocalWorkSizeKHR cl_command_queue command_queue cl_kernel kernel cl_uint work_dim @@ -2644,10 +2644,10 @@ server's OpenCL/api-docs repository. cl_semaphore_khr clCreateSemaphoreWithPropertiesKHR cl_context context const cl_semaphore_properties_khr* sema_props - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueWaitSemaphoresKHR + cl_int clEnqueueWaitSemaphoresKHR cl_command_queue command_queue cl_uint num_sema_objects const cl_semaphore_khr* sema_objects @@ -2657,7 +2657,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSignalSemaphoresKHR + cl_int clEnqueueSignalSemaphoresKHR cl_command_queue command_queue cl_uint num_sema_objects const cl_semaphore_khr* sema_objects @@ -2667,7 +2667,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clGetSemaphoreInfoKHR + cl_int clGetSemaphoreInfoKHR cl_semaphore_khr sema_object cl_semaphore_info_khr param_name size_t param_value_size @@ -2675,15 +2675,15 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clReleaseSemaphoreKHR + cl_int clReleaseSemaphoreKHR cl_semaphore_khr sema_object - cl_error_code clRetainSemaphoreKHR + cl_int clRetainSemaphoreKHR cl_semaphore_khr sema_object - cl_error_code clGetSemaphoreHandleForTypeKHR + cl_int clGetSemaphoreHandleForTypeKHR cl_semaphore_khr sema_object cl_device_id device cl_external_semaphore_handle_type_khr handle_type @@ -2692,7 +2692,7 @@ server's OpenCL/api-docs repository. size_t* handle_size_ret - cl_error_code clEnqueueAcquireExternalMemObjectsKHR + cl_int clEnqueueAcquireExternalMemObjectsKHR cl_command_queue command_queue cl_uint num_mem_objects const cl_mem* mem_objects @@ -2701,7 +2701,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseExternalMemObjectsKHR + cl_int clEnqueueReleaseExternalMemObjectsKHR cl_command_queue command_queue cl_uint num_mem_objects const cl_mem* mem_objects @@ -2716,7 +2716,7 @@ server's OpenCL/api-docs repository. const cl_import_properties_arm* properties void* memory size_t size - cl_error_code* errcode_ret + cl_int* errcode_ret void* clSVMAllocARM @@ -2731,18 +2731,18 @@ server's OpenCL/api-docs repository. void* svm_pointer - cl_error_code clEnqueueSVMFreeARM + cl_int clEnqueueSVMFreeARM cl_command_queue command_queue cl_uint num_svm_pointers void* svm_pointers[] - void (CL_CALLBACK* pfn_free_func)(cl_command_queue queue, cl_uint num_svm_pointers, void* svm_pointers[], void* user_data) + void (CL_CALLBACK* pfn_free_func)(cl_command_queue queue, cl_uint num_svm_pointers, void * svm_pointers[], void *user_data) void* user_data cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_error_code clEnqueueSVMMemcpyARM + cl_int clEnqueueSVMMemcpyARM cl_command_queue command_queue cl_bool blocking_copy void* dst_ptr @@ -2753,7 +2753,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSVMMemFillARM + cl_int clEnqueueSVMMemFillARM cl_command_queue command_queue void* svm_ptr const void* pattern @@ -2764,7 +2764,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSVMMapARM + cl_int clEnqueueSVMMapARM cl_command_queue command_queue cl_bool blocking_map cl_map_flags flags @@ -2775,7 +2775,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSVMUnmapARM + cl_int clEnqueueSVMUnmapARM cl_command_queue command_queue void* svm_ptr cl_uint num_events_in_wait_list @@ -2783,13 +2783,13 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clSetKernelArgSVMPointerARM + cl_int clSetKernelArgSVMPointerARM cl_kernel kernel cl_uint arg_index const void* arg_value - cl_error_code clSetKernelExecInfoARM + cl_int clSetKernelExecInfoARM cl_kernel kernel cl_kernel_exec_info_arm param_name size_t param_value_size @@ -2801,10 +2801,10 @@ server's OpenCL/api-docs repository. cl_accelerator_type_intel accelerator_type size_t descriptor_size const void* descriptor - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clGetAcceleratorInfoINTEL + cl_int clGetAcceleratorInfoINTEL cl_accelerator_intel accelerator cl_accelerator_info_intel param_name size_t param_value_size @@ -2812,21 +2812,21 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clRetainAcceleratorINTEL + cl_int clRetainAcceleratorINTEL cl_accelerator_intel accelerator - cl_error_code clReleaseAcceleratorINTEL + cl_int clReleaseAcceleratorINTEL cl_accelerator_intel accelerator cl_event clCreateEventFromGLsyncKHR cl_context context cl_GLsync sync - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clGetGLContextInfoKHR + cl_int clGetGLContextInfoKHR const cl_context_properties* properties cl_gl_context_info param_name size_t param_value_size @@ -2838,7 +2838,7 @@ server's OpenCL/api-docs repository. cl_context context cl_mem_flags flags cl_GLuint bufobj - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateFromGLTexture @@ -2847,23 +2847,23 @@ server's OpenCL/api-docs repository. cl_GLenum target cl_GLint miplevel cl_GLuint texture - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateFromGLRenderbuffer cl_context context cl_mem_flags flags cl_GLuint renderbuffer - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clGetGLObjectInfo + cl_int clGetGLObjectInfo cl_mem memobj cl_gl_object_type* gl_object_type cl_GLuint* gl_object_name - cl_error_code clGetGLTextureInfo + cl_int clGetGLTextureInfo cl_mem memobj cl_gl_texture_info param_name size_t param_value_size @@ -2871,7 +2871,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clEnqueueAcquireGLObjects + cl_int clEnqueueAcquireGLObjects cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2880,7 +2880,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseGLObjects + cl_int clEnqueueReleaseGLObjects cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2895,7 +2895,7 @@ server's OpenCL/api-docs repository. cl_GLenum target cl_GLint miplevel cl_GLuint texture - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateFromGLTexture3D @@ -2904,10 +2904,10 @@ server's OpenCL/api-docs repository. cl_GLenum target cl_GLint miplevel cl_GLuint texture - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clGetDeviceIDsFromVA_APIMediaAdapterINTEL + cl_int clGetDeviceIDsFromVA_APIMediaAdapterINTEL cl_platform_id platform cl_va_api_device_source_intel media_adapter_type void* media_adapter @@ -2922,10 +2922,10 @@ server's OpenCL/api-docs repository. cl_mem_flags flags VASurfaceID* surface cl_uint plane - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueAcquireVA_APIMediaSurfacesINTEL + cl_int clEnqueueAcquireVA_APIMediaSurfacesINTEL cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2934,7 +2934,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReleaseVA_APIMediaSurfacesINTEL + cl_int clEnqueueReleaseVA_APIMediaSurfacesINTEL cl_command_queue command_queue cl_uint num_objects const cl_mem* mem_objects @@ -2948,7 +2948,7 @@ server's OpenCL/api-docs repository. const cl_mem_properties_intel* properties size_t size cl_uint alignment - cl_error_code* errcode_ret + cl_int* errcode_ret void* clDeviceMemAllocINTEL @@ -2957,7 +2957,7 @@ server's OpenCL/api-docs repository. const cl_mem_properties_intel* properties size_t size cl_uint alignment - cl_error_code* errcode_ret + cl_int* errcode_ret void* clSharedMemAllocINTEL @@ -2966,20 +2966,20 @@ server's OpenCL/api-docs repository. const cl_mem_properties_intel* properties size_t size cl_uint alignment - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clMemFreeINTEL + cl_int clMemFreeINTEL cl_context context void* ptr - cl_error_code clMemBlockingFreeINTEL + cl_int clMemBlockingFreeINTEL cl_context context void* ptr - cl_error_code clGetMemAllocInfoINTEL + cl_int clGetMemAllocInfoINTEL cl_context context const void* ptr cl_mem_info_intel param_name @@ -2988,13 +2988,13 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clSetKernelArgMemPointerINTEL + cl_int clSetKernelArgMemPointerINTEL cl_kernel kernel cl_uint arg_index const void* arg_value - cl_error_code clEnqueueMemsetINTEL + cl_int clEnqueueMemsetINTEL cl_command_queue command_queue void* dst_ptr cl_int value @@ -3004,7 +3004,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueMemFillINTEL + cl_int clEnqueueMemFillINTEL cl_command_queue command_queue void* dst_ptr const void* pattern @@ -3015,7 +3015,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueMemcpyINTEL + cl_int clEnqueueMemcpyINTEL cl_command_queue command_queue cl_bool blocking void* dst_ptr @@ -3026,7 +3026,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueMigrateMemINTEL + cl_int clEnqueueMigrateMemINTEL cl_command_queue command_queue const void* ptr size_t size @@ -3036,7 +3036,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueMemAdviseINTEL + cl_int clEnqueueMemAdviseINTEL cl_command_queue command_queue const void* ptr size_t size @@ -3052,29 +3052,29 @@ server's OpenCL/api-docs repository. cl_mem_flags flags size_t size void* host_ptr - cl_error_code* errcode_ret + cl_int* errcode_ret cl_command_buffer_khr clCreateCommandBufferKHR cl_uint num_queues const cl_command_queue* queues const cl_command_buffer_properties_khr* properties - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clFinalizeCommandBufferKHR + cl_int clFinalizeCommandBufferKHR cl_command_buffer_khr command_buffer - cl_error_code clRetainCommandBufferKHR + cl_int clRetainCommandBufferKHR cl_command_buffer_khr command_buffer - cl_error_code clReleaseCommandBufferKHR + cl_int clReleaseCommandBufferKHR cl_command_buffer_khr command_buffer - cl_error_code clEnqueueCommandBufferKHR + cl_int clEnqueueCommandBufferKHR cl_uint num_queues cl_command_queue* queues cl_command_buffer_khr command_buffer @@ -3083,7 +3083,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clCommandBarrierWithWaitListKHR + cl_int clCommandBarrierWithWaitListKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_uint num_sync_points_in_wait_list @@ -3092,7 +3092,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clCommandCopyBufferKHR + cl_int clCommandCopyBufferKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_buffer @@ -3106,7 +3106,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clCommandCopyBufferRectKHR + cl_int clCommandCopyBufferRectKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_buffer @@ -3124,7 +3124,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clCommandCopyBufferToImageKHR + cl_int clCommandCopyBufferToImageKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_buffer @@ -3138,7 +3138,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clCommandCopyImageKHR + cl_int clCommandCopyImageKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_image @@ -3152,7 +3152,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clCommandCopyImageToBufferKHR + cl_int clCommandCopyImageToBufferKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem src_image @@ -3166,7 +3166,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clCommandFillBufferKHR + cl_int clCommandFillBufferKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem buffer @@ -3180,7 +3180,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clCommandFillImageKHR + cl_int clCommandFillImageKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue cl_mem image @@ -3193,7 +3193,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clCommandNDRangeKernelKHR + cl_int clCommandNDRangeKernelKHR cl_command_buffer_khr command_buffer cl_command_queue command_queue const cl_ndrange_kernel_command_properties_khr* properties @@ -3208,7 +3208,7 @@ server's OpenCL/api-docs repository. cl_mutable_command_khr* mutable_handle - cl_error_code clGetCommandBufferInfoKHR + cl_int clGetCommandBufferInfoKHR cl_command_buffer_khr command_buffer cl_command_buffer_info_khr param_name size_t param_value_size @@ -3216,12 +3216,12 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clUpdateMutableCommandsKHR + cl_int clUpdateMutableCommandsKHR cl_command_buffer_khr command_buffer const cl_mutable_base_config_khr* mutable_config - cl_error_code clGetMutableCommandInfoKHR + cl_int clGetMutableCommandInfoKHR cl_mutable_command_khr command cl_mutable_command_info_khr param_name size_t param_value_size @@ -3237,21 +3237,21 @@ server's OpenCL/api-docs repository. cl_uint num_handles const cl_mutable_command_khr* handles cl_mutable_command_khr* handles_ret - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clSetContentSizeBufferPoCL + cl_int clSetContentSizeBufferPoCL cl_mem buffer cl_mem content_size_buffer - cl_error_code clGetPlatformIDs + cl_int clGetPlatformIDs cl_uint num_entries cl_platform_id* platforms cl_uint* num_platforms - cl_error_code clGetPlatformInfo + cl_int clGetPlatformInfo cl_platform_id platform cl_platform_info param_name size_t param_value_size @@ -3259,7 +3259,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clGetDeviceIDs + cl_int clGetDeviceIDs cl_platform_id platform cl_device_type device_type cl_uint num_entries @@ -3267,7 +3267,7 @@ server's OpenCL/api-docs repository. cl_uint* num_devices - cl_error_code clGetDeviceInfo + cl_int clGetDeviceInfo cl_device_id device cl_device_info param_name size_t param_value_size @@ -3275,7 +3275,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clCreateSubDevices + cl_int clCreateSubDevices cl_device_id in_device const cl_device_partition_property* properties cl_uint num_devices @@ -3283,27 +3283,27 @@ server's OpenCL/api-docs repository. cl_uint* num_devices_ret - cl_error_code clRetainDevice + cl_int clRetainDevice cl_device_id device - cl_error_code clReleaseDevice + cl_int clReleaseDevice cl_device_id device - cl_error_code clSetDefaultDeviceCommandQueue + cl_int clSetDefaultDeviceCommandQueue cl_context context cl_device_id device cl_command_queue command_queue - cl_error_code clGetDeviceAndHostTimer + cl_int clGetDeviceAndHostTimer cl_device_id device cl_ulong* device_timestamp cl_ulong* host_timestamp - cl_error_code clGetHostTimer + cl_int clGetHostTimer cl_device_id device cl_ulong* host_timestamp @@ -3314,7 +3314,7 @@ server's OpenCL/api-docs repository. const cl_device_id* devices void (CL_CALLBACK* pfn_notify)(const char* errinfo, const void* private_info, size_t cb, void* user_data) void* user_data - cl_error_code* errcode_ret + cl_int* errcode_ret cl_context clCreateContextFromType @@ -3322,18 +3322,18 @@ server's OpenCL/api-docs repository. cl_device_type device_type void (CL_CALLBACK* pfn_notify)(const char* errinfo, const void* private_info, size_t cb, void* user_data) void* user_data - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clRetainContext + cl_int clRetainContext cl_context context - cl_error_code clReleaseContext + cl_int clReleaseContext cl_context context - cl_error_code clGetContextInfo + cl_int clGetContextInfo cl_context context cl_context_info param_name size_t param_value_size @@ -3341,7 +3341,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clSetContextDestructorCallback + cl_int clSetContextDestructorCallback cl_context context void (CL_CALLBACK* pfn_notify)(cl_context context, void* user_data) void* user_data @@ -3351,18 +3351,18 @@ server's OpenCL/api-docs repository. cl_context context cl_device_id device const cl_queue_properties* properties - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clRetainCommandQueue + cl_int clRetainCommandQueue cl_command_queue command_queue - cl_error_code clReleaseCommandQueue + cl_int clReleaseCommandQueue cl_command_queue command_queue - cl_error_code clGetCommandQueueInfo + cl_int clGetCommandQueueInfo cl_command_queue command_queue cl_command_queue_info param_name size_t param_value_size @@ -3375,7 +3375,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags size_t size void* host_ptr - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateBufferWithProperties @@ -3384,7 +3384,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags size_t size void* host_ptr - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateSubBuffer @@ -3392,7 +3392,7 @@ server's OpenCL/api-docs repository. cl_mem_flags flags cl_buffer_create_type buffer_create_type const void* buffer_create_info - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateImage @@ -3401,7 +3401,7 @@ server's OpenCL/api-docs repository. const cl_image_format* image_format const cl_image_desc* image_desc void* host_ptr - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateImageWithProperties @@ -3411,7 +3411,7 @@ server's OpenCL/api-docs repository. const cl_image_format* image_format const cl_image_desc* image_desc void* host_ptr - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreatePipe @@ -3420,18 +3420,18 @@ server's OpenCL/api-docs repository. cl_uint pipe_packet_size cl_uint pipe_max_packets const cl_pipe_properties* properties - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clRetainMemObject + cl_int clRetainMemObject cl_mem memobj - cl_error_code clReleaseMemObject + cl_int clReleaseMemObject cl_mem memobj - cl_error_code clGetSupportedImageFormats + cl_int clGetSupportedImageFormats cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -3440,7 +3440,7 @@ server's OpenCL/api-docs repository. cl_uint* num_image_formats - cl_error_code clGetMemObjectInfo + cl_int clGetMemObjectInfo cl_mem memobj cl_mem_info param_name size_t param_value_size @@ -3448,7 +3448,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clGetImageInfo + cl_int clGetImageInfo cl_mem image cl_image_info param_name size_t param_value_size @@ -3456,7 +3456,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clGetPipeInfo + cl_int clGetPipeInfo cl_mem pipe cl_pipe_info param_name size_t param_value_size @@ -3464,13 +3464,13 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clSetMemObjectDestructorCallback + cl_int clSetMemObjectDestructorCallback cl_mem memobj void (CL_CALLBACK* pfn_notify)(cl_mem memobj, void* user_data) void* user_data - cl_error_code clSetMemObjectDestructorAPPLE + cl_int clSetMemObjectDestructorAPPLE cl_mem memobj void (CL_CALLBACK* pfn_notify)(cl_mem memobj, void* user_data) void* user_data @@ -3491,18 +3491,18 @@ server's OpenCL/api-docs repository. cl_sampler clCreateSamplerWithProperties cl_context context const cl_sampler_properties* sampler_properties - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clRetainSampler + cl_int clRetainSampler cl_sampler sampler - cl_error_code clReleaseSampler + cl_int clReleaseSampler cl_sampler sampler - cl_error_code clGetSamplerInfo + cl_int clGetSamplerInfo cl_sampler sampler cl_sampler_info param_name size_t param_value_size @@ -3515,7 +3515,7 @@ server's OpenCL/api-docs repository. cl_uint count const char** strings const size_t* lengths - cl_error_code* errcode_ret + cl_int* errcode_ret cl_program clCreateProgramWithBinary @@ -3524,8 +3524,8 @@ server's OpenCL/api-docs repository. const cl_device_id* device_list const size_t* lengths const unsigned char** binaries - cl_error_code* binary_status - cl_error_code* errcode_ret + cl_int* binary_status + cl_int* errcode_ret cl_program clCreateProgramWithBuiltInKernels @@ -3533,25 +3533,25 @@ server's OpenCL/api-docs repository. cl_uint num_devices const cl_device_id* device_list const char* kernel_names - cl_error_code* errcode_ret + cl_int* errcode_ret cl_program clCreateProgramWithIL cl_context context const void* il size_t length - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clRetainProgram + cl_int clRetainProgram cl_program program - cl_error_code clReleaseProgram + cl_int clReleaseProgram cl_program program - cl_error_code clBuildProgram + cl_int clBuildProgram cl_program program cl_uint num_devices const cl_device_id* device_list @@ -3560,7 +3560,7 @@ server's OpenCL/api-docs repository. void* user_data - cl_error_code clCompileProgram + cl_int clCompileProgram cl_program program cl_uint num_devices const cl_device_id* device_list @@ -3581,27 +3581,27 @@ server's OpenCL/api-docs repository. const cl_program* input_programs void (CL_CALLBACK* pfn_notify)(cl_program program, void* user_data) void* user_data - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clSetProgramReleaseCallback + cl_int clSetProgramReleaseCallback cl_program program void (CL_CALLBACK* pfn_notify)(cl_program program, void* user_data) void* user_data - cl_error_code clSetProgramSpecializationConstant + cl_int clSetProgramSpecializationConstant cl_program program cl_uint spec_id size_t spec_size const void* spec_value - cl_error_code clUnloadPlatformCompiler + cl_int clUnloadPlatformCompiler cl_platform_id platform - cl_error_code clGetProgramInfo + cl_int clGetProgramInfo cl_program program cl_program_info param_name size_t param_value_size @@ -3609,7 +3609,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clGetProgramBuildInfo + cl_int clGetProgramBuildInfo cl_program program cl_device_id device cl_program_build_info param_name @@ -3621,10 +3621,10 @@ server's OpenCL/api-docs repository. cl_kernel clCreateKernel cl_program program const char* kernel_name - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clCreateKernelsInProgram + cl_int clCreateKernelsInProgram cl_program program cl_uint num_kernels cl_kernel* kernels @@ -3633,38 +3633,38 @@ server's OpenCL/api-docs repository. cl_kernel clCloneKernel cl_kernel source_kernel - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clRetainKernel + cl_int clRetainKernel cl_kernel kernel - cl_error_code clReleaseKernel + cl_int clReleaseKernel cl_kernel kernel - cl_error_code clSetKernelArg + cl_int clSetKernelArg cl_kernel kernel cl_uint arg_index size_t arg_size const void* arg_value - cl_error_code clSetKernelArgSVMPointer + cl_int clSetKernelArgSVMPointer cl_kernel kernel cl_uint arg_index const void* arg_value - cl_error_code clSetKernelExecInfo + cl_int clSetKernelExecInfo cl_kernel kernel cl_kernel_exec_info param_name size_t param_value_size const void* param_value - cl_error_code clGetKernelInfo + cl_int clGetKernelInfo cl_kernel kernel cl_kernel_info param_name size_t param_value_size @@ -3672,7 +3672,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clGetKernelArgInfo + cl_int clGetKernelArgInfo cl_kernel kernel cl_uint arg_index cl_kernel_arg_info param_name @@ -3681,7 +3681,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clGetKernelWorkGroupInfo + cl_int clGetKernelWorkGroupInfo cl_kernel kernel cl_device_id device cl_kernel_work_group_info param_name @@ -3690,7 +3690,7 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clGetKernelSubGroupInfo + cl_int clGetKernelSubGroupInfo cl_kernel kernel cl_device_id device cl_kernel_sub_group_info param_name @@ -3701,12 +3701,12 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clWaitForEvents + cl_int clWaitForEvents cl_uint num_events const cl_event* event_list - cl_error_code clGetEventInfo + cl_int clGetEventInfo cl_event event cl_event_info param_name size_t param_value_size @@ -3716,30 +3716,30 @@ server's OpenCL/api-docs repository. cl_event clCreateUserEvent cl_context context - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clRetainEvent + cl_int clRetainEvent cl_event event - cl_error_code clReleaseEvent + cl_int clReleaseEvent cl_event event - cl_error_code clSetUserEventStatus + cl_int clSetUserEventStatus cl_event event - cl_command_execution_status execution_status + cl_int execution_status - cl_error_code clSetEventCallback + cl_int clSetEventCallback cl_event event - cl_command_execution_status command_exec_callback_type - void (CL_CALLBACK* pfn_notify)(cl_event event, cl_command_execution_status event_command_status, void* user_data) + cl_int command_exec_callback_type + void (CL_CALLBACK* pfn_notify)(cl_event event, cl_int event_command_status, void *user_data) void* user_data - cl_error_code clGetEventProfilingInfo + cl_int clGetEventProfilingInfo cl_event event cl_profiling_info param_name size_t param_value_size @@ -3747,15 +3747,15 @@ server's OpenCL/api-docs repository. size_t* param_value_size_ret - cl_error_code clFlush + cl_int clFlush cl_command_queue command_queue - cl_error_code clFinish + cl_int clFinish cl_command_queue command_queue - cl_error_code clEnqueueReadBuffer + cl_int clEnqueueReadBuffer cl_command_queue command_queue cl_mem buffer cl_bool blocking_read @@ -3767,7 +3767,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReadBufferRect + cl_int clEnqueueReadBufferRect cl_command_queue command_queue cl_mem buffer cl_bool blocking_read @@ -3784,7 +3784,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueWriteBuffer + cl_int clEnqueueWriteBuffer cl_command_queue command_queue cl_mem buffer cl_bool blocking_write @@ -3796,7 +3796,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueWriteBufferRect + cl_int clEnqueueWriteBufferRect cl_command_queue command_queue cl_mem buffer cl_bool blocking_write @@ -3813,7 +3813,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueFillBuffer + cl_int clEnqueueFillBuffer cl_command_queue command_queue cl_mem buffer const void* pattern @@ -3825,7 +3825,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueCopyBuffer + cl_int clEnqueueCopyBuffer cl_command_queue command_queue cl_mem src_buffer cl_mem dst_buffer @@ -3837,7 +3837,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueCopyBufferRect + cl_int clEnqueueCopyBufferRect cl_command_queue command_queue cl_mem src_buffer cl_mem dst_buffer @@ -3853,7 +3853,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueReadImage + cl_int clEnqueueReadImage cl_command_queue command_queue cl_mem image cl_bool blocking_read @@ -3867,7 +3867,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueWriteImage + cl_int clEnqueueWriteImage cl_command_queue command_queue cl_mem image cl_bool blocking_write @@ -3881,7 +3881,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueFillImage + cl_int clEnqueueFillImage cl_command_queue command_queue cl_mem image const void* fill_color @@ -3892,7 +3892,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueCopyImage + cl_int clEnqueueCopyImage cl_command_queue command_queue cl_mem src_image cl_mem dst_image @@ -3904,7 +3904,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueCopyImageToBuffer + cl_int clEnqueueCopyImageToBuffer cl_command_queue command_queue cl_mem src_image cl_mem dst_buffer @@ -3916,7 +3916,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueCopyBufferToImage + cl_int clEnqueueCopyBufferToImage cl_command_queue command_queue cl_mem src_buffer cl_mem dst_image @@ -3938,7 +3938,7 @@ server's OpenCL/api-docs repository. cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_error_code* errcode_ret + cl_int* errcode_ret void* clEnqueueMapImage @@ -3953,10 +3953,10 @@ server's OpenCL/api-docs repository. cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueUnmapMemObject + cl_int clEnqueueUnmapMemObject cl_command_queue command_queue cl_mem memobj void* mapped_ptr @@ -3965,7 +3965,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueMigrateMemObjects + cl_int clEnqueueMigrateMemObjects cl_command_queue command_queue cl_uint num_mem_objects const cl_mem* mem_objects @@ -3975,7 +3975,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueNDRangeKernel + cl_int clEnqueueNDRangeKernel cl_command_queue command_queue cl_kernel kernel cl_uint work_dim @@ -3987,7 +3987,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueNativeKernel + cl_int clEnqueueNativeKernel cl_command_queue command_queue void (CL_CALLBACK* user_func)(void*) void* args @@ -4000,21 +4000,21 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueMarkerWithWaitList + cl_int clEnqueueMarkerWithWaitList cl_command_queue command_queue cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_error_code clEnqueueBarrierWithWaitList + cl_int clEnqueueBarrierWithWaitList cl_command_queue command_queue cl_uint num_events_in_wait_list const cl_event* event_wait_list cl_event* event - cl_error_code clEnqueueSVMFree + cl_int clEnqueueSVMFree cl_command_queue command_queue cl_uint num_svm_pointers void* svm_pointers[] @@ -4025,7 +4025,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSVMMemcpy + cl_int clEnqueueSVMMemcpy cl_command_queue command_queue cl_bool blocking_copy void* dst_ptr @@ -4036,7 +4036,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSVMMemFill + cl_int clEnqueueSVMMemFill cl_command_queue command_queue void* svm_ptr const void* pattern @@ -4047,7 +4047,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSVMMap + cl_int clEnqueueSVMMap cl_command_queue command_queue cl_bool blocking_map cl_map_flags flags @@ -4058,7 +4058,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSVMUnmap + cl_int clEnqueueSVMUnmap cl_command_queue command_queue void* svm_ptr cl_uint num_events_in_wait_list @@ -4066,7 +4066,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueSVMMigrateMem + cl_int clEnqueueSVMMigrateMem cl_command_queue command_queue cl_uint num_svm_pointers const void** svm_pointers @@ -4082,7 +4082,7 @@ server's OpenCL/api-docs repository. const char* func_name - cl_error_code clSetCommandQueueProperty + cl_int clSetCommandQueueProperty cl_command_queue command_queue cl_command_queue_properties properties cl_bool enable @@ -4097,7 +4097,7 @@ server's OpenCL/api-docs repository. size_t image_height size_t image_row_pitch void* host_ptr - cl_error_code* errcode_ret + cl_int* errcode_ret cl_mem clCreateImage3D @@ -4110,25 +4110,25 @@ server's OpenCL/api-docs repository. size_t image_row_pitch size_t image_slice_pitch void* host_ptr - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueMarker + cl_int clEnqueueMarker cl_command_queue command_queue cl_event* event - cl_error_code clEnqueueWaitForEvents + cl_int clEnqueueWaitForEvents cl_command_queue command_queue cl_uint num_events const cl_event* event_list - cl_error_code clEnqueueBarrier + cl_int clEnqueueBarrier cl_command_queue command_queue - cl_error_code clUnloadCompiler + cl_int clUnloadCompiler void* clGetExtensionFunctionAddress @@ -4139,7 +4139,7 @@ server's OpenCL/api-docs repository. cl_context context cl_device_id device cl_command_queue_properties properties - cl_error_code* errcode_ret + cl_int* errcode_ret cl_sampler clCreateSampler @@ -4147,10 +4147,10 @@ server's OpenCL/api-docs repository. cl_bool normalized_coords cl_addressing_mode addressing_mode cl_filter_mode filter_mode - cl_error_code* errcode_ret + cl_int* errcode_ret - cl_error_code clEnqueueTask + cl_int clEnqueueTask cl_command_queue command_queue cl_kernel kernel cl_uint num_events_in_wait_list @@ -4158,28 +4158,28 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clGetLayerInfo + cl_int clGetLayerInfo cl_layer_info param_name size_t param_value_size void* param_value size_t* param_value_size_ret - cl_error_code clInitLayer + cl_int clInitLayer cl_uint num_entries const cl_icd_dispatch* target_dispatch cl_uint* num_entries_ret const cl_icd_dispatch** layer_dispatch_ret - cl_error_code clGetICDLoaderInfoOCLICD + cl_int clGetICDLoaderInfoOCLICD cl_icdl_info param_name size_t param_value_size void* param_value size_t* param_value_size_ret - cl_error_code clGetSupportedGLTextureFormatsINTEL + cl_int clGetSupportedGLTextureFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4188,7 +4188,7 @@ server's OpenCL/api-docs repository. cl_uint* num_texture_formats - cl_error_code clGetSupportedDX9MediaSurfaceFormatsINTEL + cl_int clGetSupportedDX9MediaSurfaceFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4198,7 +4198,7 @@ server's OpenCL/api-docs repository. cl_uint* num_surface_formats - cl_error_code clGetSupportedD3D10TextureFormatsINTEL + cl_int clGetSupportedD3D10TextureFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4207,7 +4207,7 @@ server's OpenCL/api-docs repository. cl_uint* num_texture_formats - cl_error_code clGetSupportedD3D11TextureFormatsINTEL + cl_int clGetSupportedD3D11TextureFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4217,7 +4217,7 @@ server's OpenCL/api-docs repository. cl_uint* num_texture_formats - cl_error_code clGetSupportedVA_APIMediaSurfaceFormatsINTEL + cl_int clGetSupportedVA_APIMediaSurfaceFormatsINTEL cl_context context cl_mem_flags flags cl_mem_object_type image_type @@ -4227,7 +4227,7 @@ server's OpenCL/api-docs repository. cl_uint* num_surface_formats - cl_error_code clEnqueueReadHostPipeINTEL + cl_int clEnqueueReadHostPipeINTEL cl_command_queue command_queue cl_program program const char* pipe_symbol @@ -4239,7 +4239,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clEnqueueWriteHostPipeINTEL + cl_int clEnqueueWriteHostPipeINTEL cl_command_queue command_queue cl_program program const char* pipe_symbol @@ -4251,7 +4251,7 @@ server's OpenCL/api-docs repository. cl_event* event - cl_error_code clGetImageRequirementsInfoEXT + cl_int clGetImageRequirementsInfoEXT cl_context context const cl_mem_properties* properties cl_mem_flags flags From b5112a79e3fb8e9dab5d6c652b2ff9b14f01e129 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sat, 1 Jul 2023 13:57:53 +0300 Subject: [PATCH 05/21] schema --- xml/registry.rnc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/xml/registry.rnc b/xml/registry.rnc index d2055e79f..24071c2fa 100644 --- a/xml/registry.rnc +++ b/xml/registry.rnc @@ -357,6 +357,12 @@ Command = element command { # / contains features to require or remove in # this version # profile - only require/remove when generated profile matches +# etype - can but "enum", "bitfield", "constants" or "OpenCL-C only" +# If omited, etype="enum" is assumed +# group - type name, dedicated to a select group of enums +# Only exists for "enum" and "bitfield" etype's +# Multiple blocks can add enums to the same group +# In such cases, the same etype attribute has to be present # comment - unused Feature = element feature { attribute api { text } , @@ -369,6 +375,8 @@ Feature = element feature { element require { ProfileName ? , ExtensionName ? , + GroupName ? , + EType ? , Comment ? , ( InterfaceElement | @@ -422,9 +430,15 @@ Extensions = element extensions { # this extension. It may be empty string. # e.g. 'VK_VERSION_1_1', or 'VK_EXT_debug_utils', or '' # provisional - 'true' if this extension is released provisionally -# In addition, / tags also support an api attribute: +# In addition, / tags also support attributes: # api - only require/remove these features for the matching API. # Not a regular expression. +# etype - can but "enum", "bitfield", "constants" or "OpenCL-C only" +# If omited, etype="enum" is assumed +# group - type name, dedicated to a select group of enums +# Only exists for "enum" and "bitfield" etype's +# Multiple blocks can add enums to the same group +# In such cases, the same etype attribute has to be present Extension = element extension { Name , attribute number { Integer } ? , @@ -450,6 +464,8 @@ Extension = element extension { ProfileName ? , ExtensionName ? , FeatureName ? , + GroupName ? , + EType ? , Comment ? , ( InterfaceElement | @@ -507,6 +523,8 @@ ProfileName = attribute profile { text } ExtensionName = attribute extension { text } FeatureName = attribute feature { text } Vendor = attribute vendor { text } +GroupName = attribute group { text } +EType = attribute etype { text } Comment = attribute comment { text } Name = attribute name { text } From f267ae013b89ed6259fa338b420db93cf52c915d Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sat, 1 Jul 2023 17:16:00 +0300 Subject: [PATCH 06/21] schema: tab to space --- xml/registry.rnc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xml/registry.rnc b/xml/registry.rnc index 24071c2fa..25477d2f4 100644 --- a/xml/registry.rnc +++ b/xml/registry.rnc @@ -375,8 +375,8 @@ Feature = element feature { element require { ProfileName ? , ExtensionName ? , - GroupName ? , - EType ? , + GroupName ? , + EType ? , Comment ? , ( InterfaceElement | @@ -464,8 +464,8 @@ Extension = element extension { ProfileName ? , ExtensionName ? , FeatureName ? , - GroupName ? , - EType ? , + GroupName ? , + EType ? , Comment ? , ( InterfaceElement | From 691c83f32379681d867ab23ed22d7055dc43c474 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sat, 1 Jul 2023 23:13:02 +0300 Subject: [PATCH 07/21] add new group types to --- xml/cl.xml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/xml/cl.xml b/xml/cl.xml index 19df93a7d..e0ddfb005 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -173,7 +173,6 @@ server's OpenCL/api-docs repository. typedef cl_bitfield cl_device_affinity_domain; typedef intptr_t cl_context_properties; typedef intptr_t cl_context_property_diagnostics_level; - typedef intptr_t cl_context_memory_initialize_khr; typedef cl_uint cl_context_info; typedef cl_properties cl_queue_properties; typedef cl_properties cl_queue_properties_khr; @@ -4313,6 +4312,8 @@ server's OpenCL/api-docs repository. + + @@ -5734,6 +5735,7 @@ server's OpenCL/api-docs repository. + @@ -5794,6 +5796,7 @@ server's OpenCL/api-docs repository. + @@ -5822,6 +5825,9 @@ server's OpenCL/api-docs repository. + + + @@ -5830,6 +5836,9 @@ server's OpenCL/api-docs repository. + + + @@ -5845,6 +5854,7 @@ server's OpenCL/api-docs repository. + @@ -5959,6 +5969,7 @@ server's OpenCL/api-docs repository. + @@ -6094,6 +6105,10 @@ server's OpenCL/api-docs repository. + + + + @@ -6119,6 +6134,9 @@ server's OpenCL/api-docs repository. + + + @@ -6214,6 +6232,7 @@ server's OpenCL/api-docs repository. + @@ -6239,6 +6258,9 @@ server's OpenCL/api-docs repository. + + + @@ -6788,6 +6810,9 @@ server's OpenCL/api-docs repository. + + + From b07a1cb96f05cd1f117c41179ba2f2a765f0a2a8 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sat, 1 Jul 2023 23:20:27 +0300 Subject: [PATCH 08/21] close the new type tags --- xml/cl.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index e0ddfb005..83d221add 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -4312,8 +4312,8 @@ server's OpenCL/api-docs repository. - - + + From 27dce9fd359d7a410eebdad90025d39d65e4d78f Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Tue, 22 Aug 2023 21:11:07 +0300 Subject: [PATCH 09/21] xml: tab to space --- xml/cl.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index b7f443974..3bd3a24a9 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -4327,8 +4327,8 @@ server's OpenCL/api-docs repository. - - + + From 87d6399e60497220ff3aba6c104fbb2b9c37accd Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Tue, 22 Aug 2023 22:09:19 +0300 Subject: [PATCH 10/21] CL_SEMAPHORE_DEVICE_HANDLE_LIST_KHR --- xml/cl.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/cl.xml b/xml/cl.xml index 3bd3a24a9..8991c2b58 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -6997,7 +6997,7 @@ server's OpenCL/api-docs repository. - + From addedd8ff8c78c50293273d60a306df8e00f1fd6 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Thu, 4 Apr 2024 20:08:32 +0200 Subject: [PATCH 11/21] fix typo: but=>be --- xml/registry.rnc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/registry.rnc b/xml/registry.rnc index 1d336fcfd..3d4f459ff 100644 --- a/xml/registry.rnc +++ b/xml/registry.rnc @@ -403,7 +403,7 @@ Command = element command { # / contains features to require or remove in # this version # profile - only require/remove when generated profile matches -# etype - can but "enum", "bitfield", "constants" or "OpenCL-C only" +# etype - can be "enum", "bitfield", "constants" or "OpenCL-C only" # If omited, etype="enum" is assumed # group - type name, dedicated to a select group of enums # Only exists for "enum" and "bitfield" etype's @@ -485,7 +485,7 @@ Extensions = element extensions { # In addition, / tags also support attributes: # api - only require/remove these features for the matching API. # Not a regular expression. -# etype - can but "enum", "bitfield", "constants" or "OpenCL-C only" +# etype - can be "enum", "bitfield", "constants" or "OpenCL-C only" # If omited, etype="enum" is assumed # group - type name, dedicated to a select group of enums # Only exists for "enum" and "bitfield" etype's From bdabe1853190815a7d40f4cf8e5b28011152a0b5 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 15 Sep 2024 13:11:23 +0200 Subject: [PATCH 12/21] Remove `cl_import_type_arm` from `cl_arm_import_memory` --- xml/cl.xml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index a4396dced..124964c69 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -139,7 +139,6 @@ server's OpenCL/api-docs repository. typedef cl_uint cl_queue_priority_khr; typedef cl_uint cl_queue_throttle_khr; typedef intptr_t cl_import_properties_arm; - typedef intptr_t cl_import_type_arm; typedef cl_bitfield cl_svm_mem_flags_arm; typedef cl_uint cl_kernel_exec_info_arm; typedef cl_bitfield cl_device_svm_capabilities_arm; @@ -6074,20 +6073,17 @@ server's OpenCL/api-docs repository. - + + + - - - - - From 093c5207513775cd342de8ef367c6fe74b9b8a8f Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 15 Sep 2024 13:18:03 +0200 Subject: [PATCH 13/21] Remove `cl_context_property_diagnostics_level` from `cl_intel_driver_diagnostics` --- xml/cl.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 124964c69..50918322a 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -171,7 +171,6 @@ server's OpenCL/api-docs repository. typedef intptr_t cl_device_partition_property; typedef cl_bitfield cl_device_affinity_domain; typedef intptr_t cl_context_properties; - typedef intptr_t cl_context_property_diagnostics_level; typedef cl_uint cl_context_info; typedef cl_properties cl_queue_properties; typedef cl_properties cl_queue_properties_khr; @@ -1004,7 +1003,7 @@ server's OpenCL/api-docs repository. - + @@ -6333,12 +6332,9 @@ server's OpenCL/api-docs repository. - - - From f9c9352ee7de4e9b5d96a5c2041c0cab88453175 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 15 Sep 2024 13:57:59 +0200 Subject: [PATCH 14/21] Remove `cl_affinity_domain_ext` from `cl_ext_device_fission` --- xml/cl.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 50918322a..629a28429 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -255,7 +255,6 @@ server's OpenCL/api-docs repository. typedef cl_bitfield cl_platform_command_buffer_capabilities_khr; typedef cl_bitfield cl_mutable_dispatch_asserts_khr typedef cl_bitfield cl_device_kernel_clock_capabilities_khr; - typedef cl_uint cl_affinity_domain_ext; typedef cl_uint cl_command_termination_reason_arm; typedef cl_uint cl_host_cache_policy; typedef cl_uint cl_allocation_type; @@ -5838,7 +5837,6 @@ server's OpenCL/api-docs repository. - @@ -5860,8 +5858,6 @@ server's OpenCL/api-docs repository. - - From 3f1bcbec006769aec09b91431e2f51d1b7508c56 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 15 Sep 2024 14:45:05 +0200 Subject: [PATCH 15/21] Revert struct fields (KhronosGroup/OpenCL-Docs#1261) Separated part of this to https://github.com/KhronosGroup/OpenCL-Docs/pull/1261 --- xml/cl.xml | 46 ++++++++++++++-------------------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 629a28429..9e8fcac05 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -256,12 +256,6 @@ server's OpenCL/api-docs repository. typedef cl_bitfield cl_mutable_dispatch_asserts_khr typedef cl_bitfield cl_device_kernel_clock_capabilities_khr; typedef cl_uint cl_command_termination_reason_arm; - typedef cl_uint cl_host_cache_policy; - typedef cl_uint cl_allocation_type; - typedef cl_uint cl_mb_block_type; - typedef cl_uint cl_subpixel_mode; - typedef cl_uint cl_sad_adjust_mode; - typedef cl_uint cl_search_path_type; typedef cl_uint cl_device_me_version; typedef cl_uint cl_device_avc_me_version; typedef cl_int cl_command_execution_status; @@ -273,14 +267,14 @@ server's OpenCL/api-docs repository. HANDLE shared_handle - cl_mb_block_type mb_block_type - cl_subpixel_mode subpixel_mode - cl_sad_adjust_mode sad_adjust_mode - cl_search_path_type search_path_type + cl_uint mb_block_type + cl_uint subpixel_mode + cl_uint sad_adjust_mode + cl_uint search_path_type - cl_allocation_type allocation_type - cl_host_cache_policyhost_cache_policy + cl_uint allocation_type + cl_uint host_cache_policy cl_mem_ext_host_ptr ext_host_ptr @@ -5895,7 +5889,6 @@ server's OpenCL/api-docs repository. - @@ -5910,7 +5903,7 @@ server's OpenCL/api-docs repository. - + @@ -5924,10 +5917,7 @@ server's OpenCL/api-docs repository. - - - - + @@ -5935,14 +5925,11 @@ server's OpenCL/api-docs repository. - - - - + @@ -5953,9 +5940,8 @@ server's OpenCL/api-docs repository. - - + @@ -6201,29 +6187,25 @@ server's OpenCL/api-docs repository. - - - - - + - + - + - + From fc466358ea75465e6a3cf217fd0510ecf63e0696 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 15 Sep 2024 14:50:17 +0200 Subject: [PATCH 16/21] remove stray spaces --- xml/cl.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/cl.xml b/xml/cl.xml index 9e8fcac05..b79dc9524 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -260,7 +260,7 @@ server's OpenCL/api-docs repository. typedef cl_uint cl_device_avc_me_version; typedef cl_int cl_command_execution_status; typedef cl_int cl_error_code; - + Structure types IDirect3DSurface9* resource From d32e04db1c52882b37022388417cac9fa6781f23 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 15 Sep 2024 15:00:15 +0200 Subject: [PATCH 17/21] Remove `cl_device_me_version` from `cl_intel_advanced_motion_estimation` https://github.com/KhronosGroup/OpenCL-Docs/issues/1262 --- xml/cl.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index b79dc9524..23af5fa7e 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -256,7 +256,6 @@ server's OpenCL/api-docs repository. typedef cl_bitfield cl_mutable_dispatch_asserts_khr typedef cl_bitfield cl_device_kernel_clock_capabilities_khr; typedef cl_uint cl_command_termination_reason_arm; - typedef cl_uint cl_device_me_version; typedef cl_uint cl_device_avc_me_version; typedef cl_int cl_command_execution_status; typedef cl_int cl_error_code; @@ -6212,14 +6211,11 @@ server's OpenCL/api-docs repository. - - - - - + + From c6b74042476faa0c1a9151efae354ed97cc99eb1 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 15 Sep 2024 15:14:41 +0200 Subject: [PATCH 18/21] Another type (doesn't fit in commit name) Remove `cl_device_avc_me_version` from `cl_intel_device_side_avc_motion_estimation` --- xml/cl.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 23af5fa7e..70894e9ef 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -256,7 +256,6 @@ server's OpenCL/api-docs repository. typedef cl_bitfield cl_mutable_dispatch_asserts_khr typedef cl_bitfield cl_device_kernel_clock_capabilities_khr; typedef cl_uint cl_command_termination_reason_arm; - typedef cl_uint cl_device_avc_me_version; typedef cl_int cl_command_execution_status; typedef cl_int cl_error_code; @@ -6329,15 +6328,12 @@ server's OpenCL/api-docs repository. - - - - + From a7e40c8148f57a8c348cca026cfa9e66d32fc34a Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 15 Sep 2024 15:23:43 +0200 Subject: [PATCH 19/21] clean out the rest of `cl_error_code` and `cl_command_execution_status` --- xml/cl.xml | 54 +++++++++++++++++++++++++----------------------------- 1 file changed, 25 insertions(+), 29 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 70894e9ef..b67cd01f4 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -256,8 +256,6 @@ server's OpenCL/api-docs repository. typedef cl_bitfield cl_mutable_dispatch_asserts_khr typedef cl_bitfield cl_device_kernel_clock_capabilities_khr; typedef cl_uint cl_command_termination_reason_arm; - typedef cl_int cl_command_execution_status; - typedef cl_int cl_error_code; Structure types @@ -743,7 +741,7 @@ server's OpenCL/api-docs repository. - + @@ -4390,8 +4388,6 @@ server's OpenCL/api-docs repository. - - @@ -4435,7 +4431,7 @@ server's OpenCL/api-docs repository. - + @@ -4746,7 +4742,7 @@ server's OpenCL/api-docs repository. - + @@ -4889,7 +4885,7 @@ server's OpenCL/api-docs repository. - + @@ -4980,7 +4976,7 @@ server's OpenCL/api-docs repository. - + @@ -5153,7 +5149,7 @@ server's OpenCL/api-docs repository. - + @@ -5318,7 +5314,7 @@ server's OpenCL/api-docs repository. - + @@ -5428,7 +5424,7 @@ server's OpenCL/api-docs repository. - + @@ -5477,7 +5473,7 @@ server's OpenCL/api-docs repository. - + @@ -5527,7 +5523,7 @@ server's OpenCL/api-docs repository. - + @@ -5574,7 +5570,7 @@ server's OpenCL/api-docs repository. - + @@ -5648,7 +5644,7 @@ server's OpenCL/api-docs repository. - + @@ -5743,7 +5739,7 @@ server's OpenCL/api-docs repository. - + @@ -5830,7 +5826,7 @@ server's OpenCL/api-docs repository. - + @@ -5975,7 +5971,7 @@ server's OpenCL/api-docs repository. - + @@ -6169,7 +6165,7 @@ server's OpenCL/api-docs repository. - + @@ -6498,7 +6494,7 @@ server's OpenCL/api-docs repository. - + @@ -6539,7 +6535,7 @@ server's OpenCL/api-docs repository. - + @@ -6610,7 +6606,7 @@ server's OpenCL/api-docs repository. - + @@ -6906,7 +6902,7 @@ server's OpenCL/api-docs repository. - + @@ -7066,7 +7062,7 @@ server's OpenCL/api-docs repository. - + @@ -7256,7 +7252,7 @@ server's OpenCL/api-docs repository. - + @@ -7388,7 +7384,7 @@ server's OpenCL/api-docs repository. - + @@ -7509,7 +7505,7 @@ server's OpenCL/api-docs repository. - + @@ -7538,4 +7534,4 @@ server's OpenCL/api-docs repository. - + \ No newline at end of file From cc99c07bea05e2567e5807e58775e02dd9fb1446 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sat, 28 Sep 2024 08:56:48 +0200 Subject: [PATCH 20/21] Apply suggestions from code review Co-authored-by: Ben Ashbaugh --- xml/cl.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 8dbe6e6e0..0c85c367f 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -5607,7 +5607,7 @@ server's OpenCL/api-docs repository. - + @@ -6692,7 +6692,7 @@ server's OpenCL/api-docs repository. - + @@ -7327,7 +7327,7 @@ server's OpenCL/api-docs repository. - + @@ -7458,7 +7458,6 @@ server's OpenCL/api-docs repository. - From c9132de958589a3b04eb1fa1a0aa62d3a7b66053 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sat, 28 Sep 2024 09:00:48 +0200 Subject: [PATCH 21/21] Move require for `cl_command_termination_reason_arm` --- xml/cl.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xml/cl.xml b/xml/cl.xml index 0c85c367f..0eb493417 100644 --- a/xml/cl.xml +++ b/xml/cl.xml @@ -6882,9 +6882,6 @@ server's OpenCL/api-docs repository. - - - @@ -6903,6 +6900,7 @@ server's OpenCL/api-docs repository. +