how to

nvcc-shows-wrong-version

Mar 21, 2024
softwares-and-toolsnvidia
1 Minutes
19 Words

check your /usr/local/

if there is cuda-right-version, it’s easy to fix this problem;

1
export CUDA_HOME=/usr/local/cuda-9.2
2
export PATH=/usr/local/cuda-9.2/bin:$PATH

Reproduced and solved on 2024-2-1.

Article title:nvcc-shows-wrong-version
Article author:Julyfun
Release time:Mar 21, 2024
Copyright 2025
Sitemap