iCreatAI News
Skip to content
Trending storyUpdating

Study: 14 of 31 AI-generated GPU kernels have data races

1 reports1 sources1 hr agoUpdated

Understand this story

AI overview

ShreshthRajan published research findings stating that of 31 model-generated GPU kernels that passed their own tests and synchronized across thread blocks, 14 have data races under the PTX memory model. Of these, 10 are missing release or acquire in inter-block handoffs, and 4 are missing barriers for intra-block shared memory. These kernels and their checking code are released under the MIT license, from Infatoshi/kernelbench.com. The kernels on H100 and B200 only ran the benchmark's scoring random seeds, because the newer attention test cases on H100 stopped before any solution ran due to a scorer error; the kernels scored on RTX PRO 6000 also only ran on that card. The study also mentions that the adversarial failure of Case 4 appears only in syncsan's default mode, and the remaining 6 keep passing after setting SYNCSAN_WARP_ORDER=0.

AI overview based on source reports · Updated 49 min ago

Coverage timeline

Follow the coverage to explore different perspectives.

Dec 5
  1. Hacker News AI
    AI-written GPU kernels: 14 of 31 that pass their tests race under the PTX model

    An audit of 31 test-passing, model-written GPU kernels that synchronize across thread blocks found 14 with data races under the PTX memory model: 10 missing a release or acquire in a cross-block handoff and 4 with shared-memory races inside a block. In 7 of them, returning stale values at the racing loads (syncsan's adversarial mode) makes the benchmark's own correctness check fail while the control run passes; none of the 31 failed when run normally. All kernels came from 2026 frontier-model megakernel work, and each verdict was checked against Dartagnan's formal PTX models (6.0, 7.5 and stock 7.5).

Activity for this story

Not enough continuous observations to show a trend yet.