Programming Guide


Ahead-of-Time Compilation for GPU

The following example command produces
for a specific GPU target:
For DPC++:
dpcpp -fsycl-targets=spir64_gen -Xs "-device <device name>" a.cpp b.cpp -o app.out
For OpenMP*offload:
icpx -fiopenmp -fopenmp-targets=spir64_gen -Xopenmp-target-backend "-device <device name>" a.cpp b.cpp -o app.out
A list of allowed values for the device name are available from the Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at