Visible to Intel only — GUID: GUID-A9BFFAC9-FE03-4164-846D-896CED292C45
Visible to Intel only — GUID: GUID-A9BFFAC9-FE03-4164-846D-896CED292C45
Migrate a Project
Intel® DPC++ Compatibility Tool ports CUDA* language kernels and library API calls to SYCL* for the Intel® oneAPI DPC++/C++ Compiler. Typically, 90%-95% of CUDA code automatically migrates to SYCL. The tool inserts inline comments during migration to help you complete the remaining code migration.
CUDA‡ to SYCL‡ Code Migration & Development Workflow
The Intel® DPC++ Compatibility Tool migration workflow follows four high-level steps:
Prepare your CUDA source for migration
Start with a running CUDA project that can be built and run. Intel® DPC++ Compatibility Tool looks for CUDA headers, so make sure the headers are accessible to the tool.
Migrate your project
Run Intel® DPC++ Compatibility Tool with the original source as input to the tool to generate annotated SYCL code.
You can use file-to-file migration for simple projects or a compilation database for more complex projects.
Review the converted code
Output files contain annotations to mark code that could not be automatically migrated. Review the annotations and manually convert any unmigrated code. Also look for potential code improvements.
Build your project
To make sure your newly migrated project compiles successfully, build the project with the Intel® oneAPI DPC++/C++ Compiler.