600 instructions or 599: nothing guarantees which, and it flips atomics

matiasgoldberg · x · 2026-11-01

matiasgoldberg clarifies his earlier point to mike64t: the extreme example was illustrative, not literal. The core argument is that GPU code is a big fat instruction blob, and nothing guarantees whether it takes 600 or 599 instructions — and that difference will change the outcome of an atomic operation.

Related event: GPU Experts Debate Whether Driver Versions Break CUDA Atomic Determinism(9 posts)→

Original post →

More from Infra

Infra channel →