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 reciprocal #1293

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

lakshmih
Copy link
Contributor

@lakshmih lakshmih commented Dec 20, 2024

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.

@kpet kpet changed the title OpenCL C: Update ULP requirements for half-precision divide and recip… OpenCL C: Update ULP requirements for half-precision divide Jan 8, 2025
OpenCL_C.txt Outdated Show resolved Hide resolved
@bashbaug bashbaug changed the title OpenCL C: Update ULP requirements for half-precision divide OpenCL C: Update ULP requirements for half-precision divide and reciprocal Jan 21, 2025
@bashbaug
Copy link
Contributor

Merging as discussed in the January 21st teleconference (once CI builds complete).

@bashbaug bashbaug merged commit 19801fa into KhronosGroup:main Jan 21, 2025
2 checks passed
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