You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The maintainers seem to tag each cuda requirement bump so depending on the cuda version you have, a simple thing to do is to do a git checkout v11.0 and if you are like me and keep multiple cuda versions, do a env CUDA_PATH=/usr/local/nvidia/cuda/11.0 make
Similar issue with newb building the cuda-samples after a completely clean by-the-book latest-stable install on Ubuntu 22.04:
nvcc fatal : Unsupported gpu architecture 'compute_89'
My fix was:
export SMS="50 52 60 61 70 75 80 86"
before running a "make -k" command.
Activity
mdoijade commentedon Jun 30, 2020
@GuanhuaWang you need to install cuda 11.0 toolkit to compile these samples. cuda 11.0 supports compute_80 (ampere arch GPU).
udnaan commentedon Sep 25, 2020
The maintainers seem to tag each cuda requirement bump so depending on the cuda version you have, a simple thing to do is to do a
git checkout v11.0and if you are like me and keep multiple cuda versions, do aenv CUDA_PATH=/usr/local/nvidia/cuda/11.0 makeReplace 11.0 with the cuda version you have.
h1z1 commentedon Oct 2, 2020
Was about to report this again. Why is that required on all samples including those that are not specific to that arch? Nothing builds otherwise.
jtillots commentedon Oct 16, 2020
You can remove the "80 86" from the SMS lines in the Makefiles. Then you can build it with Cuda10.
mikizvi commentedon Sep 23, 2023
Similar issue with newb building the cuda-samples after a completely clean by-the-book latest-stable install on Ubuntu 22.04:
nvcc fatal : Unsupported gpu architecture 'compute_89'
My fix was:
export SMS="50 52 60 61 70 75 80 86"
before running a "make -k" command.