Skip to content

Fix tt.atomic_poll runtime crash for 16-bit types#7573

Open
wdziurdz wants to merge 1 commit into
mainfrom
witold/fix-7390-atomic-poll-16bit
Open

Fix tt.atomic_poll runtime crash for 16-bit types#7573
wdziurdz wants to merge 1 commit into
mainfrom
witold/fix-7390-atomic-poll-16bit

Conversation

@wdziurdz

Copy link
Copy Markdown
Contributor

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.

@wdziurdz
wdziurdz force-pushed the witold/fix-7390-atomic-poll-16bit branch from a392634 to 20c315e Compare July 24, 2026 12:39
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
wdziurdz force-pushed the witold/fix-7390-atomic-poll-16bit branch from 20c315e to 58b3f24 Compare July 24, 2026 12:43
@anmyachev

Copy link
Copy Markdown
Contributor

Intel has no native 16-bit atomics

You mean only certain architectures, right? It's better to rephrase it so it doesn't get confusing.

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.

tt.atomic_poll crashes at runtime for 16-bit types

3 participants