arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1701.07123cs.PLcs.AI
收藏

面向过程代码机械转换的启发式自动学习

Towards Automatic Learning of Heuristics for Mechanical Transformations of Procedural Code

IMDEA Software Institute(IMDEA软件研究所);Universidad Politécnica de Madrid(马德里理工大学)

Guillermo Vigueras, Manuel Carro, Salvador Tamarit, Julio Mariño

摘要:

下一代艾级系统的当前趋势是将各种专用(协)处理器集成到传统的超级计算机中。由于异构系统在每表面单元的瓦特和FLOPS方面的效率,向更广泛的用户开放异构平台的访问是一个需要解决的重要问题。然而,异构平台限制了应用程序的可移植性,并由于所需的编程技能而增加了开发复杂性。通过定义一个逐步的转换过程,将给定的初始代码转换为语义上等价的最终代码,但适用于特定的平台,程序转换可以帮助编程异构系统更容易。程序转换系统需要定义有效的转换策略,以解决由于在过程的每个步骤中可应用的大量转换而出现的组合问题。在本文中,我们提出了一个机器学习为基础的方法来学习算法来定义程序转换策略。我们的方法提出了一种强化学习和分类方法的新组合,以有效地解决这类系统固有的问题。初步结果表明,这种方法的适用性。

英文摘要:

The current trends in next-generation exascale systems go towards integrating a wide range of specialized (co-)processors into traditional supercomputers. Due to the efficiency of heterogeneous systems in terms of Watts and FLOPS per surface unit, opening the access of heterogeneous platforms to a wider range of users is an important problem to be tackled. However, heterogeneous platforms limit the portability of the applications and increase development complexity due to the programming skills required. Program transformation can help make programming heterogeneous systems easier by defining a step-wise transformation process that translates a given initial code into a semantically equivalent final code, but adapted to a specific platform. Program transformation systems require the definition of efficient transformation strategies to tackle the combinatorial problem that emerges due to the large set of transformations applicable at each step of the process. In this paper we propose a machine learning-based approach to learn heuristics to define program transformation strategies. Our approach proposes a novel combination of reinforcement learning and classification methods to efficiently tackle the problems inherent to this type of systems. Preliminary results demonstrate the suitability of this approach.

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

↑