ShreshthRajan/syncsan: Analysis of data races in AI-written GPU kernels

github.com3 min read

An analysis of 31 test-passing, model-written GPU kernels that synchronize across thread blocks found that 14 contain a data race under the PTX memory model. Researchers observed that 10 kernels are missing a release or acquire handoff between blocks, while 4 have a race in shared memory inside a single block. Although none of these kernels failed their standard execution tests, their correctness depends on memory orderings not guaranteed by the PTX model. Open article →

More on this topic