问题在复现工程https://github.com/google/hdrnet时遇到。

现象:

cuda_device_functions.h:32:31: fatal error: cuda/include/cuda.h: 没有那个文件或目录

解决办法:

修改hdrnet文件夹下的Makefile文件:在在nvcc里面添加路径:-I /usr/local

 

相关文章:

  • 2022-12-23
  • 2022-03-11
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2022-01-07
  • 2022-12-23
猜你喜欢
  • 2022-01-20
  • 2021-11-10
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案