arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.01519cs.DCcs.AIcs.LG
收藏

HPX智能执行器

HPX Smart Executors

Center for Computation;Technology Louisiana State University The STE || AR Group, http://stellar-group.org Baton Rouge, LA, USA;Technology Louisiana State University The STE || AR Group, http://stellar-group.org

Zahra Khatami, Lukas Troska, Hartmut Kaiser, J. Ramanujam, Adrian Serio

摘要:

许多并行应用程序的性能依赖于循环级并行性。然而,手动并行化所有循环可能会导致并行性能下降,因为其中一些循环无法按需要扩展到大量线程。此外,手动调优循环参数的开销可能会阻止应用程序达到其最大并行性能。我们说明了如何机器学习技术可以应用于解决这些挑战。在本研究中,我们开发了一个能够自动捕获循环的静态和动态信息的框架。此外,我们提倡一种新的方法,通过引入HPX智能执行器来确定HPX循环的执行策略,块大小和预取距离,以通过将编译期间捕获的静态信息和基于运行时的动态信息馈送到我们的学习模型来实现更高的性能。我们评估的执行结果表明,与手动设置HPX循环的执行策略/参数或使用HPX自动并行化技术相比,使用这些智能执行器可以将HPX执行过程的矩阵乘法,流和$2D$ Stenchmark基准加速约12%-35%。

英文摘要:

The performance of many parallel applications depends on loop-level parallelism. However, manually parallelizing all loops may result in degrading parallel performance, as some of them cannot scale desirably to a large number of threads. In addition, the overheads of manually tuning loop parameters might prevent an application from reaching its maximum parallel performance. We illustrate how machine learning techniques can be applied to address these challenges. In this research, we develop a framework that is able to automatically capture the static and dynamic information of a loop. Moreover, we advocate a novel method by introducing HPX smart executors for determining the execution policy, chunk size, and prefetching distance of an HPX loop to achieve higher possible performance by feeding static information captured during compilation and runtime-based dynamic information to our learning model. Our evaluated execution results show that using these smart executors can speed up the HPX execution process by around 12%-35% for the Matrix Multiplication, Stream and $2D$ Stencil benchmarks compared to setting their HPX loop's execution policy/parameters manually or using HPX auto-parallelization techniques.

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

↑