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

利用空间填充曲线研究能量和局域效应

A Study of Energy and Locality Effects using Space-filling Curves

Nico Reissmann, Jan Christian Meyer, Magnus Jahre

摘要:

能源成本正在成为HPC系统运营成本的一个越来越重要的驱动因素,这给生成高效代码的挑战增加了另一个方面。在本文中,我们研究了能量的影响,交易计算的局部性使用希尔伯特和莫顿空间填充曲线与密集矩阵矩阵乘法。这些曲线的优点是,它们表现出固有的平铺效果,而不需要特定的架构调优。通过按空间填充曲线确定的顺序访问矩阵,我们可以用计算换取局部性。莫顿曲线的索引计算开销被发现是平衡对它的局部性和能源效率,而希尔伯特曲线的开销超过了它的改进我们的测试系统。

英文摘要:

The cost of energy is becoming an increasingly important driver for the operating cost of HPC systems, adding yet another facet to the challenge of producing efficient code. In this paper, we investigate the energy implications of trading computation for locality using Hilbert and Morton space-filling curves with dense matrix-matrix multiplication. The advantage of these curves is that they exhibit an inherent tiling effect without requiring specific architecture tuning. By accessing the matrices in the order determined by the space-filling curves, we can trade computation for locality. The index computation overhead of the Morton curve is found to be balanced against its locality and energy efficiency, while the overhead of the Hilbert curve outweighs its improvements on our test system.

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

↑