In cl_khr_dx9_media_sharing the following enum constants are defined as being part of the cl_context_info enumeration.
But looking at https://github.com/KhronosGroup/OpenCL-Docs/blob/main/man/static/enums.txt which documents all valid enum values for each enumeration these values seem to be listed under cl_context_properties.
However, in cl.xml these enums are included under a cl_context_info comment.
https://github.com/KhronosGroup/OpenCL-Docs/blob/main/xml/cl.xml#L5914-L5917
It does seem likely from other specification wording that the correct enum is indeed cl_context_properties but it's a little hard to know.
If the cl_khr_dx9_media_sharing file is wrong it and cl.xml should be updated to reflect the correct enumeration for these values.
In cl_khr_dx9_media_sharing the following enum constants are defined as being part of the
cl_context_infoenumeration.But looking at https://github.com/KhronosGroup/OpenCL-Docs/blob/main/man/static/enums.txt which documents all valid enum values for each enumeration these values seem to be listed under
cl_context_properties.However, in
cl.xmlthese enums are included under acl_context_infocomment.https://github.com/KhronosGroup/OpenCL-Docs/blob/main/xml/cl.xml#L5914-L5917
It does seem likely from other specification wording that the correct enum is indeed
cl_context_propertiesbut it's a little hard to know.If the
cl_khr_dx9_media_sharingfile is wrong it andcl.xmlshould be updated to reflect the correct enumeration for these values.