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

IPMACC:开放源代码OpenACC到CUDA/OpenCL转换器

IPMACC: Open Source OpenACC to CUDA/OpenCL Translator

Ahmad Lashgar, Alireza Majidi, Amirali Baniasadi

摘要:

在本文中,我们介绍IPMACC,一个框架,用于将OpenACC应用程序转换为CUDA或OpenCL。IPMACC由一组翻译器组成,将OpenACC for C应用程序翻译为CUDA或OpenCL。该框架使用系统编译器(例如nvcc)来生成最终加速器的二进制文件。该框架可用于扩展OpenACC API,执行OpenACC应用程序,或获取与OpenACC代码等效的CUDA或OpenCL代码。我们验证了我们的框架下的几个基准测试的正确性,包括从Rodinia Benchmark Suit和CUDA SDK。我们还比较了CUDA版本的基准测试的性能,OpenACC版本,这是由我们的框架编译。通过比较CUDA和OpenACC版本,我们讨论了OpenACC在实现接近高度优化的CUDA版本的性能方面的局限性。

英文摘要:

In this paper we introduce IPMACC, a framework for translating OpenACC applications to CUDA or OpenCL. IPMACC is composed of set of translators translating OpenACC for C applications to CUDA or OpenCL. The framework uses the system compiler (e.g. nvcc) for generating final accelerator's binary. The framework can be used for extending the OpenACC API, executing OpenACC applications, or obtaining CUDA or OpenCL code which is equivalent to OpenACC code. We verify correctness of our framework under several benchmarks included from Rodinia Benchmark Suit and CUDA SDK. We also compare the performance of CUDA version of the benchmarks to OpenACC version which is compiled by our framework. By comparing CUDA and OpenACC versions, we discuss the limitations of OpenACC in achieving a performance near to highly-optimized CUDA version.

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

↑