KIT | KIT-Bibliothek | Impressum | Datenschutz

Are Your GPU Atomics Secretly Contending?

Maucher, Peter 1; Djerfi, Nick 1; Kittner, Lennard 1; Werling, Lukas ORCID iD icon 1; Bellosa, Frank 2
1 Karlsruher Institut für Technologie (KIT)
2 Institut für Technische Informatik (ITEC), Karlsruher Institut für Technologie (KIT)

Abstract:

GPU applications use atomic operations to coordinate data
access in highly parallel code. However, relying on previous
experiences and due to limited documentation, program-
mers resort to guidelines instead of concrete metrics to limit
potential performance influences.
In this paper, we introduce a GPU memory-subsystem
microbenchmark suite for analyzing GPU atomic operations.
Based on the benchmark results, we discuss two particu-
lar guidelines, namely: “use only one thread per warp to
access an atomic” and “place two atomic variables on differ-
ent cache lines to avoid contention.” We demonstrate where
these guidelines are effective and where actual hardware
behavior diverges.


Verlagsausgabe §
DOI: 10.5445/IR/1000188141
Veröffentlicht am 08.12.2025
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Technische Informatik (ITEC)
Publikationstyp Proceedingsbeitrag
Publikationsdatum 13.10.2025
Sprache Englisch
Identifikator ISBN: 979-8-4007-2225-7
KITopen-ID: 1000188141
Erschienen in Proceedings of the 13th Workshop on Programming Languages and Operating Systems, PLOS ’25, Seoul, 13th-16th October 2025
Veranstaltung 13th ACM SIGOPS Workshop on Programming Languages and Operating Systems (PLOS 2025), Seoul, Südkorea, 13.10.2025 – 16.10.2025
Verlag Association for Computing Machinery (ACM)
Seiten 84 - 92
Nachgewiesen in OpenAlex
Dimensions
Scopus
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page