用于优化模板更新的多核优化波前菱形块
Multicore-optimized wavefront diamond blocking for optimizing stencil updates
摘要:
基于模板的算法在计算科学中的重要性使得基于多级缓存的处理器的优化并行实现受到关注。时间阻塞方案利用高速缓存的大带宽和低延迟来加速模板更新并接近理论峰值性能。一个关键因素是减少了慢速数据路径上的数据流量,特别是主存储器接口。在这项工作中,我们结合了多核波前时间阻塞和钻石瓷砖的想法,达到模板更新计划,显示内存压力大幅减少相比,现有的方法。由此产生的方案在带宽不足的情况下表现出性能优势,这是加剧了高字节每格更新的情况下的可变系数。我们的线程组概念在并发和内存使用之间提供了一个可控的权衡,转移了内存接口和CPU之间的压力。我们展示了当代英特尔处理器上的性能结果。
英文摘要:
The importance of stencil-based algorithms in computational science has focused attention on optimized parallel implementations for multilevel cache-based processors. Temporal blocking schemes leverage the large bandwidth and low latency of caches to accelerate stencil updates and approach theoretical peak performance. A key ingredient is the reduction of data traffic across slow data paths, especially the main memory interface. In this work we combine the ideas of multi-core wavefront temporal blocking and diamond tiling to arrive at stencil update schemes that show large reductions in memory pressure compared to existing approaches. The resulting schemes show performance advantages in bandwidth-starved situations, which are exacerbated by the high bytes per lattice update case of variable coefficients. Our thread groups concept provides a controllable trade-off between concurrency and memory usage, shifting the pressure between the memory interface and the CPU. We present performance results on a contemporary Intel processor.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。