Fix tt.atomic_poll runtime crash for 16-bit types#7573
Open
wdziurdz wants to merge 1 commit into
Open
Conversation
wdziurdz
force-pushed
the
witold/fix-7390-atomic-poll-16bit
branch
from
July 24, 2026 12:39
a392634 to
20c315e
Compare
Intel has no native 16-bit atomics, so the upstream poll's raw i16 atomic load crashes in ocloc. Override it to poll via a 32-bit atomic load instead; 32/64-bit stay on the upstream path. Fixes #7390. Signed-off-by: Witold Dziurdz <witold.dziurdz@intel.com>
wdziurdz
force-pushed
the
witold/fix-7390-atomic-poll-16bit
branch
from
July 24, 2026 12:43
20c315e to
58b3f24
Compare
whitneywhtsang
approved these changes
Jul 24, 2026
anmyachev
approved these changes
Jul 24, 2026
Contributor
You mean only certain architectures, right? It's better to rephrase it so it doesn't get confusing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intel has no native 16-bit atomics, so the upstream poll's raw i16 atomic load crashes in ocloc. Override it to poll via a 32-bit atomic load instead; 32/64-bit stay on the upstream path.
Fixes #7390.