使用 ppOpen-AT 在 OpenMP 中通过更改指令和线程数进行自动调优
Autotuning by Changing Directives and Number of Threads in OpenMP using ppOpen-AT
AI总结:
提出一种基于 ppOpen-AT 的 OpenMP 自动调优方法,通过调整优化指令与动态线程数,在 FX100 上的等离子体湍流分析中实现最高 1.801 倍性能提升。
摘要:
近来,计算机的架构日益多样化。为了获得高性能的数值计算软件,必须根据目标计算机架构对软件进行调优。然而,除非由熟悉计算机架构的专家来执行,否则很难针对每种环境进行代码优化。通过应用自动调优(AT),可以减少调优工作量。即使不是专家,也能使用由 AT 实现的、可提升计算机性能的优化实现。在本研究中,我们针对使用开放多处理(OpenMP)的程序提出了一种 AT 技术。我们提出了一种使用 AT 语言的 AT 方法,该语言会更改 OpenMP 优化循环,并根据计算内核动态更改 OpenMP 中的线程数。性能评估使用了 Fujitsu PRIMEHYPERC FX100,这是一台安装在名古屋大学信息技术中心的 K 计算机型超级计算机。结果表明,在等离子体湍流分析中,其性能相比原始代码提升了 1.801 倍。
英文摘要:
Recently, computers have diversified architectures. To achieve high numerical calculation software performance, it is necessary to tune the software according to the target computer architecture. However, code optimization for each environment is difficult unless it is performed by a specialist who knows computer architectures well. By applying autotuning (AT), the tuning effort can be reduced. Optimized implementation by AT that enhances computer performance can be used even by non-experts. In this research, we propose a technique for AT for programs using open multi-processing (OpenMP). We propose an AT method using an AT language that changes the OpenMP optimized loop and dynamically changes the number of threads in OpenMP according to computational kernels. Performance evaluation was performed using the Fujitsu PRIMEHPC FX100, which is a K-computer type supercomputer installed at the Information Technology Center, Nagoya University. As a result, we found there was a performance increase of 1.801 times that of the original code in a plasma turbulence analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。