Early Experiences Migrating CUDA codes to oneAPI
III-LIDI, Facultad de Informática, UNLP – CIC, La Plata (1900), Bs As, Argentina
arXiv:2105.13489 [cs.DC], (27 May 2021)
@misc{costanzo2021early,
title={Early Experiences Migrating CUDA codes to oneAPI},
author={Manuel Costanzo and Enzo Rucci and Carlos García Sanchez and Marcelo Naiouf},
year={2021},
eprint={2105.13489},
archivePrefix={arXiv},
primaryClass={cs.DC}
}
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.
June 6, 2021 by hgpu