报错:src/ball_query_gpu.h:6:18: fatal error: cuda.h: No such file or directory
在.bashrc中把
export CUDA_HOME=/usr/local/cuda:$CUDA_HOME
改为:
export CUDA_ROOT=/usr/local/cuda-9.0
export PATH=$CUDA_ROOT:$CUDA_ROOT/bin:/usr/local/bin:$PATH
之后bash .bashrc 或者重启即发现不报错了
...
原创
2019-07-11 11:19:53 ·
1366 阅读 ·
1 评论