arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.11315cs.DC
收藏

基于压缩的核外GPU压缩计算优化

Compression-Based Optimizations for Out-of-Core GPU Stencil Computation

Jingcheng Shen, Xin Deng, Yifan Wu, Masao Okita, Fumihiko Ino

摘要:

核外模板计算代码处理大小超出GPU内存容量的大数据。然而,这样的代码需要频繁地将数据流式传输到GPU和从GPU流式传输数据。因此,CPU和GPU之间的数据移动通常会限制性能。在这项工作中,提出了基于压缩的优化。首先,将动态压缩技术应用于核外模板代码,从而减少CPU-GPU内存复制。其次,采用单工作缓冲区技术来降低GPU的内存消耗。实验结果表明,在NVIDIA Tesla V100 GPU上,使用该技术的模板代码实现了1.1倍的速度,并减少了33.0%的GPU内存消耗.

英文摘要:

An out-of-core stencil computation code handles large data whose size is beyond the capacity of GPU memory. Whereas, such an code requires streaming data to and from the GPU frequently. As a result, data movement between the CPU and GPU usually limits the performance. In this work, compression-based optimizations are proposed. First, an on-the-fly compression technique is applied to an out-of-core stencil code, reducing the CPU-GPU memory copy. Secondly, a single working buffer technique is used to reduce GPU memory consumption. Experimental results show that the stencil code using the proposed techniques achieved 1.1x speed and reduced GPU memory consumption by 33.0\% on an NVIDIA Tesla V100 GPU.

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

↑