arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.03215cs.DC
收藏

OMP-Engineer:桥接语法分析与上下文学习以实现高效自动化 OpenMP 并行化

OMP-Engineer: Bridging Syntax Analysis and In-Context Learning for Efficient Automated OpenMP Parallelization

Weidong Wang, Haoran Zhu

AI总结:

OMP-Engineer 结合 NLP 上下文学习与传统语法分析,在保持高效可扩展的同时提升自动化 OpenMP 并行化代码的准确性与可靠性。

摘要:

在推进并行编程(尤其是 OpenMP)的过程中,向基于自然语言处理(NLP)方法的转变标志着超越 Autopar 和 Cetus 等传统源到源(S2S)工具的重大创新。这些 NLP 方法在大量示例数据集上进行训练,以高效生成优化的并行代码,从而简化开发流程。该方法的优势在于能够快速生成运行高效的并行化代码。然而,这种对 NLP 模型的依赖缺乏直接的代码分析,可能引入不准确性,因为这些模型可能无法完全理解其所并行化代码的细微语义。我们构建了 OMP-Engineer,它平衡了 NLP 模型的效率和可扩展性与传统方法的准确性和可靠性,旨在提升自动化并行化的性能,同时应对其固有挑战。

英文摘要:

In advancing parallel programming, particularly with OpenMP, the shift towards NLP-based methods marks a significant innovation beyond traditional S2S tools like Autopar and Cetus. These NLP approaches train on extensive datasets of examples to efficiently generate optimized parallel code, streamlining the development process. This method's strength lies in its ability to swiftly produce parallelized code that runs efficiently. However, this reliance on NLP models, without direct code analysis, can introduce inaccuracies, as these models might not fully grasp the nuanced semantics of the code they parallelize. We build OMP-Engineer, which balances the efficiency and scalability of NLP models with the accuracy and reliability of traditional methods, aiming to enhance the performance of automating parallelization while navigating its inherent challenges.

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

↑