Migrating from CUDA* to SYCL* for the oneAPI DPC++ Compiler

The Intel® DPC++ Compatibility Tool is part of the Intel® oneAPI Base Toolkit. The goal of this tool is to assist in the migration of an existing program that is written in NVIDIA* CUDA* to a program written in SYCL* and compiled with the oneAPI DPC++ compiler. This tool generates SYCL code as much as it can. However, it will not migrate all code and manual changes may be required. The tool provides help with IDE plug-ins, a user guide, and embedded comments in the code to complete the migration to be compiled with DPC++. After completing any manual changes, use a oneAPI DPC++ compiler to create executables.

CUDA to oneAPI Conversion

Fig. 12 Migrating CUDA to SYCL Using the Intel® DPC++ Compatibility Tool