arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.04063cs.DCcs.CCcs.PF
收藏

用还是不用:用途:GPU上CPU的缓存优化技术

To Use or Not to Use: CPUs' Cache Optimization Techniques on GPGPUs

Vajira Thambawita, Roshan G. Ragel, Dhammike Elkaduwe

摘要:

通用图形处理器(GPGPU)是并行程序设计中实现高性能或高吞吐量的一种常用处理器。GPGPU的这种能力在新时代非常有名,主要用于科学计算,它需要比普通个人计算机更多的处理能力。因此,大多数程序员、研究人员和工业界在他们的工作中使用这个新概念。然而,与CPU端的传统编程概念相比,使用GPGPU实现高性能或高吞吐量并不是一件容易的事情。在这项研究中,CPU的高速缓存优化技术已被采用到GPGPU的高速缓存,以确定罕见的性能改善技术相比,GPGPU的最佳实践。在GPGPU上测试了分块、循环融合、数组合并和数组转置等缓存优化技术的适用性。最后,我们发现一些CPU缓存优化技术与GPGPU的缓存系统配合良好,并显示出性能改善,而另一些则显示出与CPU相反的效果。

英文摘要:

General Purpose Graphic Processing Unit(GPGPU) is used widely for achieving high performance or high throughput in parallel programming. This capability of GPGPUs is very famous in the new era and mostly used for scientific computing which requires more processing power than normal personal computers. Therefore, most of the programmers, researchers and industry use this new concept for their work. However, achieving high-performance or high-throughput using GPGPUs are not an easy task compared with conventional programming concepts in the CPU side. In this research, the CPU's cache memory optimization techniques have been adopted to the GPGPU's cache memory to identify rare performance improvement techniques compared to GPGPU's best practices. The cache optimization techniques of blocking, loop fusion, array merging and array transpose were tested on GPGPUs for finding suitability of these techniques. Finally, we identified that some of the CPU cache optimization techniques go well with the cache memory system of the GPGPU and shows performance improvements while some others show the opposite effect on the GPGPUs compared with the CPUs.

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

↑