案例研究:利用神经机器翻译将PDKEEPAAA翻译为OpenCL
A Case Study: Exploiting Neural Machine Translation to Translate CUDA to OpenCL
摘要:
用于神经机器翻译的序列到序列(seq 2seq)模型显著提高了语言翻译的准确性。已经有新的尝试将这种seq 2seq模型用于程序语言翻译或程序比较。在这项工作中,我们提出了使用seq 2seq模型将CUDA程序转换为OpenCL程序的详细步骤,两者具有非常相似的编程风格。我们的工作展示了(i)训练输入集生成方法,(ii)预/后处理,以及(iii)使用Polybench-gpu-1.0,NVIDIA SDK和Rodinia基准的案例研究。
英文摘要:
The sequence-to-sequence (seq2seq) model for neural machine translation has significantly improved the accuracy of language translation. There have been new efforts to use this seq2seq model for program language translation or program comparisons. In this work, we present the detailed steps of using a seq2seq model to translate CUDA programs to OpenCL programs, which both have very similar programming styles. Our work shows (i) a training input set generation method, (ii) pre/post processing, and (iii) a case study using Polybench-gpu-1.0, NVIDIA SDK, and Rodinia benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。