PETSc中异步GPU流的安全、无缝且可扩展的集成
Safe, Seamless, And Scalable Integration Of Asynchronous GPU Streams In PETSc
AI总结:
本文针对GPU异步流难以集成到通用库的问题,列举了库作者面临的困难并提出解决方案,为PETSc设计了统一的异步编程模型,在保持易用性的同时展现了广泛的性能优势。
摘要:
利用图形处理器(GPUs)加速科学软件已被证明非常成功,但为了提取更多性能,GPU程序员必须克服使用它们带来的高延迟成本。减少或隐藏此延迟成本的一种方法是使用异步流(asynchronous streams)向GPU发出命令。尽管性能优异,但流模型是一种侵入式抽象,因此已被证明难以集成到通用库中。在这项工作中,我们列举了库作者在采用流时面临的具体困难,并介绍了针对这些问题的最新研究进展。最后,我们提出了一个统一的异步编程模型,用于Portable, Extensible, Toolkit for Scientific Computation(PETSc)以克服这些挑战。新模型展现出广泛的性能优势,同时对用户保持易用性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。