728x90
1. Install oneAPI HPC Toolkit
https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html
2. Compile with mpiicpc
$ mpiicpc -fsycl -std=c++17 -lsycl -ltbb main.cpp -o dpc_reduce
3. run with mpirun
mpirun -np 4 ./dpc_reduce
300x250