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

面向类型的Exascale并行程序设计

Type oriented parallel programming for Exascale

Nick Brown

摘要:

虽然近年来HPC硬件和软件有了很大的进步,但我们用来编程这些机器的语言和模型仍然更加静态。这并不是因为缺乏努力,而是因为许多程序设计语言构建的基础不足以满足并行工作所需的表达能力。其结果是可编程性和性能之间的隐含权衡,由于许多科学用户是自己领域的专家,而不是HPC专家,这使得情况变得更糟。面向类型的编程通过类型系统编码语言的复杂性来解决这个问题。大多数语言功能都包含在一个松散耦合的类型库中,可以灵活地用于控制许多方面,如并行性。由于这种方法的高级性质,在编译过程中有很多信息可用于优化,并且在没有类型信息的情况下,编译器可以应用合理的默认选项,从而支持专家程序员和新手。我们证明,在没有性能或可扩展性的损失时,运行在高达8196个核心的Cray XE6系统,在这种类型的面向方式编写的代码提供了改进的可编程性。程序员能够在高级别上编写简单的隐式并行HPC代码,然后在需要时通过添加其他类型信息来显式调优。

英文摘要:

Whilst there have been great advances in HPC hardware and software in recent years, the languages and models that we use to program these machines have remained much more static. This is not from a lack of effort, but instead by virtue of the fact that the foundation that many programming languages are built on is not sufficient for the level of expressivity required for parallel work. The result is an implicit trade-off between programmability and performance which is made worse due to the fact that, whilst many scientific users are experts within their own fields, they are not HPC experts. Type oriented programming looks to address this by encoding the complexity of a language via the type system. Most of the language functionality is contained within a loosely coupled type library that can be flexibly used to control many aspects such as parallelism. Due to the high level nature of this approach there is much information available during compilation which can be used for optimisation and, in the absence of type information, the compiler can apply sensible default options thus supporting both the expert programmer and novice alike. We demonstrate that, at no performance or scalability penalty when running on up to 8196 cores of a Cray XE6 system, codes written in this type oriented manner provide improved programmability. The programmer is able to write simple, implicit parallel, HPC code at a high level and then explicitly tune by adding additional type information if required.

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

↑