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 conversions for halfs to and from normalized image channel orders #320

Merged
merged 3 commits into from
Jun 30, 2020

Conversation

bashbaug
Copy link
Contributor

@bashbaug bashbaug commented Jun 9, 2020

Fixes #193

This PR adds two sections to the cl_khr_fp16 spec that describe how half values are converted to normalized image channel orders (for image writes) and converted from normalized image channel orders (for image reads). These sections should match similar sections that are already in the OpenCL SPIR-V environment spec.

Copy link
Contributor

@alycm alycm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This isn't an area I'm particular familiar with, but I was comparing against the existing descriptions in the SPIR-V environment spec.

ext/cl_khr_fp16.asciidoc Outdated Show resolved Hide resolved
ext/cl_khr_fp16.asciidoc Outdated Show resolved Hide resolved
ext/cl_khr_fp16.asciidoc Outdated Show resolved Hide resolved
ext/cl_khr_fp16.asciidoc Outdated Show resolved Hide resolved
ext/cl_khr_fp16.asciidoc Outdated Show resolved Hide resolved
@bashbaug
Copy link
Contributor Author

Thanks for the review comments! I'm fixing these now.

@alycm alycm merged commit 7733ca5 into KhronosGroup:master Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants