intel-oneapi - DPCT 迁移失败并出现错误代码 (-5)
问题描述
我已将我的 CUDA 工具包版本更新到 11.4。当我尝试使用 DPCT 工具将任何 CUDA 代码迁移到 DPC++ 时,我收到以下错误:
dpct 以代码退出:-5(错误:CUDA 头文件的路径无效或不可用。使用 --cuda-include-path 指定)
我什至指定了 cuda-include-path 标志,但错误仍然存在。我错过了什么?
环境:操作系统:CentOS 8 oneAPI base takeit版本:2021.3
解决方案
DPCT 工具不支持 CentOS 版本 8。您可以尝试使用任何受支持的操作系统版本进行 DPCT 迁移。
有关支持的操作系统及其版本,请参阅以下链接。
推荐阅读
- git - 将较新的 Git 存储库附加到较旧的存储库以结合两个历史记录
- sql - 相关查询的效率
- angular - 使用带有 Angular 字体的 CSS 伪元素真棒问题
- r - 创建一个使用 dplyr 的函数,其中将参数传递给过滤器
- flutter - Flutter 运行使用不正确的 apk 路径
- asset-pipeline - Rails 6 的资产管道中不存在资产“application.js”
- python - 如何在 Pandas 中实现这种类型的搜索?
- javascript - 遍历数组中的嵌套对象并删除属性名称和值
- groovy - 将元素附加到列表中会在 Groovy 中创建列表列表
- c++ - C 的替代方案,例如 C++ 的标签和转义嵌套循环