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

OpenCL C: Update ULP requirements for half-precision divide and recip… #1293

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

Conversation

lakshmih
Copy link
Contributor

…rocal

Update ULP requirements for these builtins to 1.0 as per discussion on #1278

…rocal

Update ULP requirements for these builtins to 1.0 as per discussion
on KhronosGroup#1278
Copy link
Contributor

@bashbaug bashbaug left a comment

Choose a reason for hiding this comment

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

Can you please update the SPIR-V environment spec also?

| *OpFDiv*
| Correctly rounded
| \<= 2.5 ulp
| Correctly rounded

Note, there is no specific SPIR-V instruction for reciprocal, so only divide needs to be updated.

If we decide to restrict this relaxation to just divide, and not to reciprocal also, then we will need to rethink what we document in the SPIR-V environment spec.

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.

2 participants