Skip to content

Fix two bugs related to C11 atomics#2700

Open
franz wants to merge 2 commits into
KhronosGroup:mainfrom
franz:fix_c11_atomics
Open

Fix two bugs related to C11 atomics#2700
franz wants to merge 2 commits into
KhronosGroup:mainfrom
franz:fix_c11_atomics

Conversation

@franz
Copy link
Copy Markdown
Contributor

@franz franz commented May 20, 2026

No description provided.

franz added 2 commits May 20, 2026 19:17
…urn threadCount for doubles

without this, the allocated buffer was too small, resulting in crashes with PoCL
When comparing two NaNs, operator == returns false, even if the NaNs
are identical. This resulted in host_atomic_compare_exchange<double>()
being stuck in an infinite loop when called from
CBasicTestFetchMinSpecialFloats::HostFunction().
@franz franz force-pushed the fix_c11_atomics branch from c339a1a to 6f8ad89 Compare May 20, 2026 16:17
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