将CUDA代码迁移到oneAPI的早期经验
Early Experiences Migrating CUDA codes to oneAPI
摘要:
由于具有不同硬件特性的设备的激增,异构计算范式代表了真正的编程挑战。最近,英特尔推出了oneAPI,这是一种新的编程环境,允许在DPC++中开发的代码在不同的设备上运行,如CPU,GPU,FPGA等。本文介绍了我们使用oneAPI dpct工具将两个CUDA应用程序移植到DPC++的初步经验。从实验工作中,可以验证dpct不能实现100%的迁移任务;但是,它执行了大部分工作,向程序员报告可能的未决调整。此外,还可以验证所获得的DPC++代码的功能可移植性,并在不同的CPU和GPU架构上成功执行。
英文摘要:
The heterogeneous computing paradigm represents a real programming challenge due to the proliferation of devices with different hardware characteristics. Recently Intel introduced oneAPI, a new programming environment that allows code developed in DPC++ to be run on different devices such as CPUs, GPUs, FPGAs, among others. This paper presents our first experiences in porting two CUDA applications to DPC++ using the oneAPI dpct tool. From the experimental work, it was possible to verify that dpct does not achieve 100% of the migration task; however, it performs most of the work, reporting the programmer of possible pending adaptations. Additionally, it was possible to verify the functional portability of the DPC++ code obtained, having successfully executed it on different CPU and GPU architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。