Skip to content

Commit 018cb7b

Browse files
authored
Link cl_khronos_vendor_id enums to OpenCL 3.0 in cl.xml (#737)
* Link `cl_khronos_vendor_id` to OpenCL 3.0 in cl.xml See script to check for orphans in #730 * Attach assigned vendor IDs to OpenCL 1.0 This is so that they can clearly be used for any OpenCL version. * Move the cl_khronos_vendor_id type back to OpenCL 3.0 This was the version that introduced the type.
1 parent eeae87e commit 018cb7b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

xml/cl.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4466,6 +4466,14 @@ server's OpenCL/api-docs repository.
44664466
<enum name="CL_SUBMITTED"/>
44674467
<enum name="CL_QUEUED"/>
44684468
</require>
4469+
<require comment="cl_khronos_vendor_id">
4470+
<!-- The cl_khronos_vendor_id type was added in OpenCL 3.0, but the
4471+
concept of assigned vendor IDs has existed since OpenCL 1.0.
4472+
These enums can be used in any OpenCL version because the type
4473+
used in the API is cl_uint. -->
4474+
<enum name="CL_KHRONOS_VENDOR_ID_CODEPLAY"/>
4475+
<enum name="CL_KHRONOS_VENDOR_ID_POCL"/>
4476+
</require>
44694477
<require comment="Platform APIs">
44704478
<command name="clGetPlatformIDs"/>
44714479
<command name="clGetPlatformInfo"/>

0 commit comments

Comments
 (0)