arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.03077cs.PLcs.DC
收藏

主流OpenMP运行时中的有害任务执行模式

Detrimental task execution patterns in mainstream OpenMP runtimes

Adam S. Tuft, Tobias Weinzierl, Michael Klemm

AI总结:

针对主流OpenMP运行时中任务执行模式导致的性能缺陷,提出规定性子句以约束实现,模拟轨迹显示其潜力,且改动增量小。

摘要:

OpenMP API为科学计算提供了基于任务和数据并行的概念。虽然它提供了描述性和规定性注解,但在许多地方故意不具体说明如何实现其注解。由于主流的OpenMP实现共享设计理念,它们引入了关于某些注解行为的“准标准”。通过一个基于任务的天体物理模拟代码,我们突出了这种“准标准”参考行为导致性能缺陷的情况。因此,我们提出了规定性子句来约束OpenMP实现。模拟的任务轨迹揭示了这些子句的潜力,而对其实现的讨论则强调,它们将对任何支持任务优先级的OpenMP运行时产生相当渐进的改变。

英文摘要:

The OpenMP API offers both task-based and data-parallel concepts to scientific computing. While it provides descriptive and prescriptive annotations, it is in many places deliberately unspecific how to implement its annotations. As the predominant OpenMP implementations share design rationales, they introduce "quasi-standards how certain annotations behave. By means of a task-based astrophysical simulation code, we highlight situations where this "quasi-standard" reference behaviour introduces performance flaws. Therefore, we propose prescriptive clauses to constrain the OpenMP implementations. Simulated task traces uncover the clauses' potential, while a discussion of their realization highlights that they would manifest in rather incremental changes to any OpenMP runtime supporting task priorities.

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

↑