Metraipolis › archive › dc_5eb24abd2036
WarpDRF: Data-Race Freedom for Warp-Level Programming — arXiv:2610.07541
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.07541
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T15:02:45.063Z
- SHA-256 of the archived text
5e9a06f030a6881979618dd39e42bffdc99fd45869372901a858116892d915ef- Stable URL of this page
https://metraipolis.com/documento/dc_5eb24abd2036
How to cite
WarpDRF: Data-Race Freedom for Warp-Level Programming — arXiv:2610.07541 — arXiv (en), https://arxiv.org/abs/2610.07541 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5eb24abd2036 (Metraipolis archive dc_5eb24abd2036, sha256 5e9a06f030a6881979618dd39e42bffdc99fd45869372901a858116892d915ef)
BibTeX
@misc{dc5eb24abd2036,
title = {WarpDRF: Data-Race Freedom for Warp-Level Programming — arXiv:2610.07541},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.07541},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5eb24abd2036; sha256 5e9a06f030a6881979618dd39e42bffdc99fd45869372901a858116892d915ef},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.07541. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Warp primitives such as tensor core operations, shuffles, reductions, and barriers are critical to high-performance GPU kernels, and every major GPU language supports some set of them. The threads that participate in a primitive, and therefore synchronize, are determined dynamically by how threads diverge and reconverge, and by intra-warp scheduling such as independent thread scheduling. In practice, many high-performance kernels use these primitives and behave as expected, following an intuitive but unwritten data-race-freedom contract that has never been stated precisely or empirically tested. We present WarpDRF, the first abstract warp programming model to make this contract precise, with participation rules parameterized by reconvergence guarantees and per-primitive requirements so that instantiations match different GPU languages. We prove (formalized in Rocq) that a kernel satisfying WarpDRF executes every warp primitive with the participants the reference semantics assigns and produces the same results, so a programmer can reason in the reference semantics alone. We implement the model in MLIR with a reference interpreter and fuzz 10K conformance tests for each of three configurations across CUDA, HIP, HLSL, Metal, and SPIR-V on 16 device and backend pairs; at least one WarpDRF configuration describes each, with CUDA honoring the strictly weakest configuration. Finally, we extend Faial, a static data-race analyzer for CUDA, into the first DRF checker for an empirically validated warp model, and apply it to this http URL , where most kernels that use warp primitives already satisfy the contract, but three contain previously unknown data races, showing the need for tools that check it. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.PL, nuovi lavori del giorno). Categorie arXiv: Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2610.07541 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T14:35:43.658Z dalla pagina https://arxiv.org/list/cs.PL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).