28411

Safe, Seamless, And Scalable Integration Of Asynchronous GPU Streams In PETSc

Jacob Faibussowitsch, Mark F. Adams, Richard Tran Mills, Stefano Zampini, Junchao Zhang
Argonne National Laboratory, Lemont, IL 60439 USA
arXiv:2306.17801 [cs.DC], (30 Jun 2023)

@misc{faibussowitsch2023safe,

   title={Safe, Seamless, And Scalable Integration Of Asynchronous GPU Streams In PETSc},

   author={Jacob Faibussowitsch and Mark F. Adams and Richard Tran Mills and Stefano Zampini and Junchao Zhang},

   year={2023},

   eprint={2306.17801},

   archivePrefix={arXiv},

   primaryClass={cs.DC}

}

Leveraging Graphics Processing Units (GPUs) to accelerate scientific software has proven to be highly successful, but in order to extract more performance, GPU programmers must overcome the high latency costs associated with their use. One method of reducing or hiding this latency cost is to use asynchronous streams to issue commands to the GPU. While performant, the streams model is an invasive abstraction, and has therefore proven difficult to integrate into general-purpose libraries. In this work, we enumerate the difficulties specific to library authors in adopting streams, and present recent work on addressing them. Finally, we present a unified asynchronous programming model for use in the Portable, Extensible, Toolkit for Scientific Computation (PETSc) to overcome these challenges. The new model shows broad performance benefits while remaining ergonomic to the user.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: