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

cphVB:一个用于自动优化和矢量化应用程序并行化的系统

cphVB: A System for Automated Runtime Optimization and Parallelization of Vectorized Applications

Mads Ruben Burgdorff Kristensen, Simon Andreas Frimann Lund, Troels Blum, Brian Vinter

摘要:

现代处理器架构,除了具有更多的内核之外,还需要更多地考虑内存布局,以便满容量运行。大多数语言的有用性都不受欢迎,因为它们的抽象,结构或对象很难有效地映射到现代处理器架构上。本文介绍了一种新的抽象机器框架,cphVB,使向量导向的高级程序设计语言映射到广泛的体系结构有效。这个想法是为了缩小高级语言和硬件优化的低级实现之间的差距。通过将高级向量操作转换为中间向量字节码,cphVB使专用向量引擎能够有效地执行向量操作。主要的成功参数是保持对底层细节的完整抽象,并在不同的现代处理器上提供高效的代码执行。我们评估所提出的设计,通过一个目标的多核CPU架构的设置。我们使用Python实现的知名算法:雅可比求解器,kNN搜索,浅水模拟和合成模板模拟的性能进行评估。都表现出良好的性能。

英文摘要:

Modern processor architectures, in addition to having still more cores, also require still more consideration to memory-layout in order to run at full capacity. The usefulness of most languages is deprecating as their abstractions, structures or objects are hard to map onto modern processor architectures efficiently. The work in this paper introduces a new abstract machine framework, cphVB, that enables vector oriented high-level programming languages to map onto a broad range of architectures efficiently. The idea is to close the gap between high-level languages and hardware optimized low-level implementations. By translating high-level vector operations into an intermediate vector bytecode, cphVB enables specialized vector engines to efficiently execute the vector operations. The primary success parameters are to maintain a complete abstraction from low-level details and to provide efficient code execution across different, modern, processors. We evaluate the presented design through a setup that targets multi-core CPU architectures. We evaluate the performance of the implementation using Python implementations of well-known algorithms: a jacobi solver, a kNN search, a shallow water simulation and a synthetic stencil simulation. All demonstrate good performance.

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

↑