Skip to content

Added support for cl_ext_float_atomics in CBasicTestFetchMinSpecialFloats with atomic_float #2391

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

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

Conversation

shajder
Copy link
Contributor

@shajder shajder commented May 15, 2025

Related to #2142, according to the work plan, extending CBasicTestFetchMinSpecialFloats with support for atomic_float.

Comment on lines +2293 to +2297
else if (is_qnan(StartValue()))
return testValue[whichDestValue]
!= startRefValues[whichDestValue];
else
return testValue[whichDestValue] != StartValue();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bashbaug at this point my test fails with intel driver. As per spec:

min(x, qNaN) = min(qNaN, x) = x,

I am observing incorrect behaviour with qNaN and -0.f arguments which returns NaN instead -0.f. Please let me know if I am missing something, thanks.

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