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

ptxas fatal : Value 'sm_30' is not defined for option 'gpu-name' #19

Open
Dazhuzhu-github opened this issue May 21, 2022 · 2 comments
Open

Comments

@Dazhuzhu-github
Copy link

I'm using gtx1650 on my computer, with cuda 11.6, cmake 3.13.0. How can i solve the problem

Run Build Command:"/usr/bin/make" "cmTC_a1746/fast"
/usr/bin/make -f CMakeFiles/cmTC_a1746.dir/build.make CMakeFiles/cmTC_a1746.dir/build
make[1]: Entering directory '/home/ming/gpgpu/altis/CMakeFiles/CMakeTmp'
Building CUDA object CMakeFiles/cmTC_a1746.dir/main.cu.o
/usr/bin/nvcc -x cu -c /home/ming/gpgpu/altis/CMakeFiles/CMakeTmp/main.cu -o CMakeFiles/cmTC_a1746.dir/main.cu.o
ptxas fatal : Value 'sm_30' is not defined for option 'gpu-name'
make[1]: *** [CMakeFiles/cmTC_a1746.dir/build.make:66: CMakeFiles/cmTC_a1746.dir/main.cu.o] Error 255
make[1]: Leaving directory '/home/ming/gpgpu/altis/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_a1746/fast] Error 2

@BDHU
Copy link
Member

BDHU commented May 23, 2022

Is it possible that the newer CUDA dropped support for sm_30?

@Dazhuzhu-github
Copy link
Author

So should I downgrade the cuda or change some setting in the code like change the sm30 to sm52 or something?

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