We propose an algorithm based on Hilbert space-filling curves to reorder mesh elements in memory for use with the Spectral Element Method, aiming to attain fewer cache misses, better locality of data reference and faster execution. We present a technique to numerically simulate acoustic wave propagation in 2D domains using the Spectral Element Method, and discuss computational performance aspects of this procedure. We reorder mesh-related data via Hilbert curves to achieve sizable reductions in execution time under several mesh configurations in shared-memory systems. Our experiments show that the Hilbert curve approach works well with meshes of several granularities and also with small and large variations in element sizes, achieving reductions between 9% and 25% in execution time when compared to three other ordering schemes.


翻译:我们提出基于希尔伯特空间填充曲线的算法,对记忆中的网格元素进行重新排序,以便与光谱元素法一起使用,目的是减少缓存误差,改善数据参考地点和加快执行速度。我们提出了一个利用光谱元素法在2D域进行数字模拟声波传播的技术,并讨论这一程序的计算性能方面。我们通过希尔伯特曲线重新排序与网格有关的数据,以便在共享元素系统的若干网格配置下实现执行时间的大幅度缩短。我们的实验表明,希尔伯特曲线法与几个颗粒的模类以及元素大小的大小小和大变异有着良好的效果,在与其他三个定序方案相比,执行时间减少了9%至25%。

0
下载
关闭预览

相关内容

【NeurIPS 2020】融入BERT到并行序列模型
专知会员服务
26+阅读 · 2020年10月15日
【NeurIPS2020】点针图网络,Pointer Graph Networks
专知会员服务
40+阅读 · 2020年9月27日
专知会员服务
61+阅读 · 2020年3月19日
【UMD开放书】机器学习课程书册,19章227页pdf,带你学习ML
【Google论文】ALBERT:自我监督学习语言表达的精简BERT
专知会员服务
24+阅读 · 2019年11月4日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
60+阅读 · 2019年10月17日
《自然》(20190829出版)一周论文导读
科学网
6+阅读 · 2019年8月30日
计算机 | 入门级EI会议ICVRIS 2019诚邀稿件
Call4Papers
10+阅读 · 2019年6月24日
计算机 | ISMAR 2019等国际会议信息8条
Call4Papers
3+阅读 · 2019年3月5日
Ray RLlib: Scalable 降龙十八掌
CreateAMind
9+阅读 · 2018年12月28日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
17+阅读 · 2018年12月24日
AI/ML/DNN硬件加速设计怎么入门?
StarryHeavensAbove
10+阅读 · 2018年12月4日
计算机类 | 11月截稿会议信息9条
Call4Papers
6+阅读 · 2018年10月14日
用线性规划去计算句子之间的相似度
AI研习社
9+阅读 · 2017年12月27日
资源|斯坦福课程:深度学习理论!
全球人工智能
17+阅读 · 2017年11月9日
Arxiv
0+阅读 · 2021年6月9日
Arxiv
0+阅读 · 2021年6月8日
Arxiv
1+阅读 · 2021年6月8日
Arxiv
5+阅读 · 2019年1月16日
VIP会员
相关VIP内容
相关资讯
《自然》(20190829出版)一周论文导读
科学网
6+阅读 · 2019年8月30日
计算机 | 入门级EI会议ICVRIS 2019诚邀稿件
Call4Papers
10+阅读 · 2019年6月24日
计算机 | ISMAR 2019等国际会议信息8条
Call4Papers
3+阅读 · 2019年3月5日
Ray RLlib: Scalable 降龙十八掌
CreateAMind
9+阅读 · 2018年12月28日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
17+阅读 · 2018年12月24日
AI/ML/DNN硬件加速设计怎么入门?
StarryHeavensAbove
10+阅读 · 2018年12月4日
计算机类 | 11月截稿会议信息9条
Call4Papers
6+阅读 · 2018年10月14日
用线性规划去计算句子之间的相似度
AI研习社
9+阅读 · 2017年12月27日
资源|斯坦福课程:深度学习理论!
全球人工智能
17+阅读 · 2017年11月9日
Top
微信扫码咨询专知VIP会员