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

Error when compile with CUDA on Jetson TX2 #9

Open
vietanhle0101 opened this issue Jun 26, 2020 · 1 comment
Open

Error when compile with CUDA on Jetson TX2 #9

vietanhle0101 opened this issue Jun 26, 2020 · 1 comment

Comments

@vietanhle0101
Copy link

I get the below error when running compile_with_cuda.sh on my Jetson TX2

nvcc fatal   : Value 'sm_20' is not defined for option 'gpu-architecture'
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

Do you know this problem?

@tianyilim
Copy link

If you're still stuck on this, take a look here.

sm_20 refers to a (very) old NVIDIA GPU architecture. If you're using a Jetson TX2, you likely need to change this value to sm_62. For anyone else looking at this, you could try to change the SM version based on your own GPU.

Take a look at this PR on the same repo. In the source file you can see where to make the change.

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

2 participants