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

OCCA:多线程语言的统一方法

OCCA: A unified approach to multi-threading languages

David S Medina, Amik St-Cyr, T. Warburton

摘要:

由于无法预测持久的语言和架构,我们开发了OCCA,这是一个专注于主机-设备交互的C++库。使用运行时编译和宏扩展,结果是一种新颖的单内核语言,可扩展为多线程语言。目前,OCCA支持用于OpenMP、OpenCL和CUDA平台的设备内核扩展。采用有限差分、谱元和间断伽辽金方法的计算结果表明,OCCA在不同的体系结构和平台上都具有可移植的高性能。

英文摘要:

The inability to predict lasting languages and architectures led us to develop OCCA, a C++ library focused on host-device interaction. Using run-time compilation and macro expansions, the result is a novel single kernel language that expands to multiple threading languages. Currently, OCCA supports device kernel expansions for the OpenMP, OpenCL, and CUDA platforms. Computational results using finite difference, spectral element and discontinuous Galerkin methods show OCCA delivers portable high performance in different architectures and platforms.

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

↑