自动与手动分类的NAS基准测试之间的比较
A comparison between Automatically versus Manually Parallelized NAS Benchmarks
摘要:
我们比较自动和手动并行化的NAS基准测试,以确定不同的代码部分。我们讨论的机会,推进自动并行化。我们发现十个模式,目前的并行化技术带来的挑战。我们还测量了可以自动执行所需转换的高级技术的潜在影响。虽然我们的一些发现并不令人惊讶,而且很难实现-编译器需要更好地识别最外层循环和包含函数调用的循环中的并行性-但其他机会是触手可及的,可以发挥作用。它们包括将循环组合到并行区域中,避免负载不平衡,以及改进约简并行化。通过研究手工优化的代码来推进编译器是走向编译器研究前沿的必要途径。然而,最近很少有论文追求这一目标。本书试图填补这一空白。
英文摘要:
We compare automatically and manually parallelized NAS Benchmarks in order to identify code sections that differ. We discuss opportunities for advancing automatic parallelizers. We find ten patterns that pose challenges for current parallelization technology. We also measure the potential impact of advanced techniques that could perform the needed transformations automatically. While some of our findings are not surprising and difficult to attain -- compilers need to get better at identifying parallelism in outermost loops and in loops containing function calls -- other opportunities are within reach and can make a difference. They include combining loops into parallel regions, avoiding load imbalance, and improving reduction parallelization. Advancing compilers through the study of hand-optimized code is a necessary path to move the forefront of compiler research. Very few recent papers have pursued this goal, however. The present work tries to fill this void.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。