-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a script to check for orphan definitions in the XML #730
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I041e48869da1ffd261ff6292819ed308136a7afd
Currently produces the following output:
Some of these are obvious issues and should be fixed, others may require special casing in the checking script. I'm proposing we resolve all of these util the script reports zero and then make sure it is routinely run as part of the spec generation and CI. |
Neat!
This seems reasonable. Are you planning to fix most of these? Some initial triage:
|
Can do but I'll need a bit of help with vendor extensions.
Not sure I agree. These are currently provided by
That sounds reasonable. I'll double check they all were in 1.0.
Maybe, could become useful as we move toward more generation.
We'll need a way of dealing with reserved enums as well. I'm thinking we could add a subtree similar to
Thanks! Feel free to open a separate PR. I don't mind rebasing that one until the output is clean.
Ok. I note there also seems to be an NVidia version of these using |
I think there's really two questions here:
We can do (1) to clean up the XML file while we're trying to figure out what to do for (2). |
See script to check for orphans in KhronosGroup#730
I've handled these here: #737 Otherwise I don't really have anything to add beyond the existing comments. I support the principal of having the XML clean and kept so by CI. |
Co-authored-by: Alastair Murray <alastair.murray@codeplay.com>
* 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.
#960 adds uses for all types and enums except vendor definitions and reservations. |
Signed-off-by: Kevin Petit kevin.petit@arm.com
Change-Id: I041e48869da1ffd261ff6292819ed308136a7afd