Skip to content

Inconsistent enum labeling for cl_khr_dx9_media_sharing enums #1585

Description

@NogginBops

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions