utcs-scea / altis

A benchmarking suite for heterogeneous systems. The primary goal of this project is to improve and update aspects of existing benchmarking suites which are either insufficient or outdated.
https://utcs-scea.github.io/altis/
BSD 2-Clause "Simplified" License
36 stars 14 forks source link

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

Open Dazhuzhu-github opened 2 years ago

Dazhuzhu-github commented 2 years ago

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 commented 2 years ago

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

Dazhuzhu-github commented 2 years ago

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