我已将CUDA工具包版本更新到11.4。当我尝试使用DPCT工具将任何CUDA代码迁移到dpc++时,我得到以下错误:
dpct退出代码:-5(错误:CUDA头文件的路径无效或不可用。使用——cuda-include-path)
指定我甚至指定了cuda-include-path标志,但错误仍然存在。我错过什么了吗?
环境:操作系统:CentOS 8oneAPI base工具包版本:2021.3
DPCT工具不支持CentOS version 8。您可以尝试使用任何支持的操作系统版本进行DPCT迁移。
有关支持的操作系统及其版本,请参阅下面的链接。
https://software.intel.com/content/www/us/en/develop/articles/intel-dpc-compatibility-tool-system-requirements.html