arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.00941astro-ph.IMcs.DC
收藏

在AstroAccelerate中实现CUDA流--一个案例研究

Implementing CUDA Streams into AstroAccelerate -- A Case Study

Jan Novotný, Karel Adámek, Wes Armour

摘要:

为了能够在NVIDIA GPU上异步运行任务,程序员必须使用CUDA流的语法在代码中显式实现异步执行。流允许程序员启动独立的并发执行任务,提供异步利用GPU上不同功能单元的能力。例如,通过将不同的任务放置在不同的CUDA流中,可以在PCIe总线上传输来自对输入数据n-1执行的先前计算的结果,同时计算输入数据n的结果。这种方法的好处是主机和设备之间的数据传输所花费的时间可以通过计算隐藏。本案例研究涉及将CUDA流实施到AstroAccelerate中。AstroAccelerate是用于时域射电天文学的GPU加速实时信号处理管道。

英文摘要:

To be able to run tasks asynchronously on NVIDIA GPUs a programmer must explicitly implement asynchronous execution in their code using the syntax of CUDA streams. Streams allow a programmer to launch independent concurrent execution tasks, providing the ability to utilise different functional units on the GPU asynchronously. For example, it is possible to transfer the results from a previous computation performed on input data n-1, over the PCIe bus whilst computing the result for input data n, by placing different tasks in different CUDA streams. The benefit of such an approach is that the time taken for the data transfer between the host and device can be hidden with computation. This case study deals with the implementation of CUDA streams into AstroAccelerate. AstroAccelerate is a GPU accelerated real-time signal processing pipeline for time-domain radio astronomy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑