Hacker News AI· shreshthrajan·· 1 hr agoAI score60
AI-written GPU kernels: 14 of 31 that pass their tests race under the PTX model
AI-written GPU kernels: 14 of 31 that pass their tests race under the PTX model
AI summary
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).
Source: Hacker News AI · github.com