arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1004.0024cs.DCcs.PFphysics.comp-ph
收藏

显式矢量化对CPU和GPU软件性能的重要性

Importance of Explicit Vectorization for CPU and GPU Software Performance

Neil G. Dickson, Kamran Karimi, Firas Hamze

摘要:

当前高性能计算的大部分焦点是多线程、多计算和图形处理单元(GPU)计算。然而,向量化和非并行优化技术,往往可以采用额外的,不经常讨论。在本文中,我们提出了一个分析的几个优化上完成的中央处理器(CPU)和GPU实现的一个特定的计算密集型大都市蒙特卡罗算法。显式向量化的CPU和等价的,显式内存合并,在GPU上被发现是至关重要的,以实现良好的性能,该算法在这两种环境中。完全优化的CPU版本实现了9倍到12倍的速度比原来的CPU版本,除了从多线程加速。这比完全优化的GPU版本快2倍。

英文摘要:

Much of the current focus in high-performance computing is on multi-threading, multi-computing, and graphics processing unit (GPU) computing. However, vectorization and non-parallel optimization techniques, which can often be employed additionally, are less frequently discussed. In this paper, we present an analysis of several optimizations done on both central processing unit (CPU) and GPU implementations of a particular computationally intensive Metropolis Monte Carlo algorithm. Explicit vectorization on the CPU and the equivalent, explicit memory coalescing, on the GPU are found to be critical to achieving good performance of this algorithm in both environments. The fully-optimized CPU version achieves a 9x to 12x speedup over the original CPU version, in addition to speedup from multi-threading. This is 2x faster than the fully-optimized GPU version.

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

↑