需要oneAPI工具包和单独的DPCT包
第一步:清理(建议清理完整,防止后续出错,建议手动把json文件删了)
make clean
第二步:建立
intercept-build make
第三步:迁移(--cuda-include-path=<自己的cuda安装位置>)
dpct --in-root=. -p compile_commands.json --cuda-include-path=/usr/local/cuda-11.7/include
需要oneAPI工具包和单独的DPCT包
第一步:清理(建议清理完整,防止后续出错,建议手动把json文件删了)
make clean
第二步:建立
intercept-build make
第三步:迁移(--cuda-include-path=<自己的cuda安装位置>)
dpct --in-root=. -p compile_commands.json --cuda-include-path=/usr/local/cuda-11.7/include