跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 神经与演化计算

arXiv:2309.07002 (cs)
[提交于 2023年9月13日]

标题:Using Evolutionary Algorithms to Find Cache-Friendly Generalized Morton Layouts for Arrays

作者:Stephen Nicholas Swatman, Ana-Lucia Varbanescu, Andy D. Pimentel, Andreas Salzburger, Attila Krasznahorkay
查看论文《Using Evolutionary Algorithms to Find Cache-Friendly Generalized Morton Layouts for Arrays》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The layout of multi-dimensional data can have a significant impact on the efficacy of hardware caches and, by extension, the performance of applications. Common multi-dimensional layouts include the canonical row-major and column-major layouts as well as the Morton curve layout. In this paper, we describe how the Morton layout can be generalized to a very large family of multi-dimensional data layouts with widely varying performance characteristics. We posit that this design space can be efficiently explored using a combinatorial evolutionary methodology based on genetic algorithms. To this end, we propose a chromosomal representation for such layouts as well as a methodology for estimating the fitness of array layouts using cache simulation. We show that our fitness function correlates to kernel running time in real hardware, and that our evolutionary strategy allows us to find candidates with favorable simulated cache properties in four out of the eight real-world applications under consideration in a small number of generations. Finally, we demonstrate that the array layouts found using our evolutionary method perform well not only in simulated environments but that they can effect significant performance gains -- up to a factor ten in extreme cases -- in real hardware.
评论: Minor textual changes, update of Figure 3 to incorporate a bugfix, notational changes to Table 1, Figure 4, Table 2 (no effect on veracity), addition of artifact information
主题: 神经与演化计算 (cs.NE); 性能 (cs.PF)
引用方式: arXiv:2309.07002 [cs.NE]
  (或者 arXiv:2309.07002v1 [cs.NE] 对于此版本)
  https://doi.org/10.48550/arXiv.2309.07002

提交历史

来自:Stephen Nicholas Swatman
[v1] 2023年9月13日 星期三 14:54:54 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.NE
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-09
切换浏览方式为:
cs
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站