Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvcc fatal : Unsupported gpu architecture 'compute_20' #40

Open
nonlinear1 opened this issue Apr 3, 2018 · 1 comment
Open

nvcc fatal : Unsupported gpu architecture 'compute_20' #40

nonlinear1 opened this issue Apr 3, 2018 · 1 comment

Comments

@nonlinear1
Copy link

  When I make the Kintinuous program, I was confronted with the error:

nvcc fatal : Unsupported gpu architecture 'compute_20'.
the environment for Kintinuous are as follows:
OS: ubuntu 16.04;
GPU: Nvidia GeForce gtx1070;
Kinect2.0
the driver for GPU is 384.111;
CUDA is cuda_9.0.176_384.81_linux;
At the same time, I succeeded in compiling the elasticfusion and it can works with my kinect2.
I was confused, and I guess maybe my drvier for GPU and CUDA are too new. I want to change some files, and make Kintinuous works under the environment.
Could someone give me some suggestions?
Thank you very much!

@nonlinear1
Copy link
Author

cuda9.0/9.1 don't support compute_20
use the following options when you type cmake comand.
-D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.0 -D CUDA_ARCH_BIN=6.1 -D CUDA_ARCH_PTX=6.1
just like this when you run cmake.
cmake -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.0 -D CUDA_ARCH_BIN=6.1 -D CUDA_ARCH_PTX=6.1 ../src

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant