用HPX异步技术重新设计OP2同步器
Redesigning OP2 Compiler to Use HPX Runtime Asynchronous Techniques
摘要:
最大限度地提高应用程序的并行性水平,可以通过最小化由于负载不平衡和等待时间,由于内存延迟的开销。因此,优化算法是解决这一问题的最有效的方法之一。编译器能够检测应用程序中的数据依赖关系,并能够分析代码的特定部分以获得并行化潜力。然而,编译器提供的所有这些技术通常在编译时应用,因此它们依赖于静态分析,而静态分析不足以实现最大并行性并产生所需的应用程序可伸缩性。解决这一挑战的一个解决方案是使用运行时方法。这个策略可以通过延迟一定量的代码分析来实现。在这项研究中,我们利用HPX,C++运行时系统,提供运行时优化,以提高并行应用程序的性能产生的OP 2编译器。这些优化包括异步任务、循环交错、动态块大小调整和数据预取。研究结果使用翼型应用程序进行了评估,显示并行性能提高了40-50%。
英文摘要:
Maximizing parallelism level in applications can be achieved by minimizing overheads due to load imbalances and waiting time due to memory latencies. Compiler optimization is one of the most effective solutions to tackle this problem. The compiler is able to detect the data dependencies in an application and is able to analyze the specific sections of code for parallelization potential. However, all of these techniques provided with a compiler are usually applied at compile time, so they rely on static analysis, which is insufficient for achieving maximum parallelism and producing desired application scalability. One solution to address this challenge is the use of runtime methods. This strategy can be implemented by delaying certain amount of code analysis to be done at runtime. In this research, we improve the parallel application performance generated by the OP2 compiler by leveraging HPX, a C++ runtime system, to provide runtime optimizations. These optimizations include asynchronous tasking, loop interleaving, dynamic chunk sizing, and data prefetching. The results of the research were evaluated using an Airfoil application which showed a 40-50% improvement in parallel performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。