A Formal Analysis of the NVIDIA PTX Memory Consistency Model

Daniel Lustig, Sameer Sahasrabuddhe, Olivier Giroux

2019 · 55 citations · 32 references

DOIFull text

Open access

Concepts

Abstract

This paper presents the first formal analysis of the official memory consistency model for the NVIDIA PTX virtual ISA. Like other GPU memory models, the PTX memory model is weakly ordered but provides scoped synchronization primitives that enable GPU program threads to communicate through memory. However, unlike some competing GPU memory models, PTX does not require data race freedom, and this results in PTX using a fundamentally different (and more complicated) set of rules in its memory model. As such, PTX has a clear need for a rigorous and reliable memory model testing and analysis infrastructure.

References

32