Skip to content

Commit

Permalink
more XML fixes for code generation (KhronosGroup#896)
Browse files Browse the repository at this point in the history
* fix errcode_ret for clCreateFromGLBuffer

* add CL_VERSION_3_0 guard to cl_ext_image_from_buffer

* add CL_API_SUFFIX__VERSION_1_2 to clCreateProgramWithILKHR

* add CL_VERSION_1_2 condition to cl_arm_get_core_id

* add CL_API_SUFFIX__VERSION_1_0 to clCreateBufferWithPropertiesINTEL

* add CL_API_SUFFIX__VERSION_1_0 to clEnqueueReadHostPipeINTEL and clEnqueueWriteHostPipeINTEL
  • Loading branch information
bashbaug authored Mar 28, 2023
1 parent d1aaa33 commit 585786a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions xml/cl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,7 @@ server's OpenCL/api-docs repository.
<param><type>cl_platform_id</type>* <name>platforms</name></param>
<param><type>cl_uint</type>* <name>num_platforms</name></param>
</command>
<command>
<command suffix="CL_API_SUFFIX__VERSION_1_2">
<proto><type>cl_program</type> <name>clCreateProgramWithILKHR</name></proto>
<param><type>cl_context</type> <name>context</name></param>
<param>const <type>void</type>* <name>il</name></param>
Expand Down Expand Up @@ -2801,7 +2801,7 @@ server's OpenCL/api-docs repository.
<param><type>cl_context</type> <name>context</name></param>
<param><type>cl_mem_flags</type> <name>flags</name></param>
<param><type>cl_GLuint</type> <name>bufobj</name></param>
<param><type>int</type>* <name>errcode_ret</name></param>
<param><type>cl_int</type>* <name>errcode_ret</name></param>
</command>
<command suffix="CL_API_SUFFIX__VERSION_1_2">
<proto><type>cl_mem</type> <name>clCreateFromGLTexture</name></proto>
Expand Down Expand Up @@ -3008,7 +3008,7 @@ server's OpenCL/api-docs repository.
<param>const <type>cl_event</type>* <name>event_wait_list</name></param>
<param><type>cl_event</type>* <name>event</name></param>
</command>
<command>
<command suffix="CL_API_SUFFIX__VERSION_1_0">
<proto><type>cl_mem</type> <name>clCreateBufferWithPropertiesINTEL</name></proto>
<param><type>cl_context</type> <name>context</name></param>
<param>const <type>cl_mem_properties_intel</type>* <name>properties</name></param>
Expand Down Expand Up @@ -4178,7 +4178,7 @@ server's OpenCL/api-docs repository.
<param><type>VAImageFormat</type>* <name>va_api_formats</name></param>
<param><type>cl_uint</type>* <name>num_surface_formats</name></param>
</command>
<command>
<command suffix="CL_API_SUFFIX__VERSION_1_0">
<proto><type>cl_int</type> <name>clEnqueueReadHostPipeINTEL</name></proto>
<param><type>cl_command_queue</type> <name>command_queue</name></param>
<param><type>cl_program</type> <name>program</name></param>
Expand All @@ -4190,7 +4190,7 @@ server's OpenCL/api-docs repository.
<param>const <type>cl_event</type>* <name>event_wait_list</name></param>
<param><type>cl_event</type>* <name>event</name></param>
</command>
<command>
<command suffix="CL_API_SUFFIX__VERSION_1_0">
<proto><type>cl_int</type> <name>clEnqueueWriteHostPipeINTEL</name></proto>
<param><type>cl_command_queue</type> <name>command_queue</name></param>
<param><type>cl_program</type> <name>program</name></param>
Expand Down Expand Up @@ -5968,7 +5968,7 @@ server's OpenCL/api-docs repository.
<command name="clSetKernelExecInfoARM"/>
</require>
</extension>
<extension name="cl_arm_get_core_id" requires="CL_VERSION_1_2" supported="opencl">
<extension name="cl_arm_get_core_id" condition="defined(CL_VERSION_1_2)" supported="opencl">
<require>
<type name="CL/cl.h"/>
</require>
Expand Down Expand Up @@ -7234,7 +7234,7 @@ server's OpenCL/api-docs repository.
<command name="clGetMutableCommandInfoKHR"/>
</require>
</extension>
<extension name="cl_ext_image_from_buffer" supported="opencl">
<extension name="cl_ext_image_from_buffer" condition="defined(CL_VERSION_3_0)" supported="opencl">
<require comment="cl_image_requirements_info_ext">
<enum name="CL_IMAGE_REQUIREMENTS_SLICE_PITCH_ALIGNMENT_EXT"/>
</require>
Expand Down

0 comments on commit 585786a

Please sign in to comment.