Skip to content
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 types for fields from cl_motion_estimation_desc_intel #1261

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SunSerega
Copy link
Contributor

The relevant enum values are already grouped in the <require> tags.

I think it's better to allocate separate types for each such group, so it's possible for higher-lvl (than C) languages to enforce assigning the right values to fields of this struct.

Creating as a draft because the spec also needs to reflect this.

@bashbaug, this was a part of #926; what do you generally think about this change?
Any suggestions on how spec text should be handled?
I think it's not worth incrementing the version here since it wouldn't change the implementations in any way - it's purely an interface change.

P.S. If we agree on this, cl_mem_ext_host_ptr would also need a similar change. I'll hold off creating that PR for now.

SunSerega added a commit to SunSerega/OpenCL-Docs that referenced this pull request Sep 15, 2024
SunSerega added a commit to SunSerega/OpenCL-Docs that referenced this pull request Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant