wilicc / gpu-burn

Multi-GPU CUDA stress test
BSD 2-Clause "Simplified" License
1.37k stars 295 forks source link

Support for RTX 30 series - Ampere arch #33

Open Gimel-ai opened 3 years ago

Gimel-ai commented 3 years ago

Hi,

I Downloaded the latest packages from the website and try to compile the code and give me this error

PATH=/home/bizon/.local/bin:/home/bizon/anaconda3/bin:/home/bizon/anaconda3/condabin:/usr/local/cuda-11.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:.:/usr/bin:/home/bizon/.local/bin:/home/bizon/anaconda3/bin:/home/bizon/anaconda3/condabin:/usr/local/cuda-11.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin /usr/local/cuda/bin/nvcc -I/usr/local/cuda/include -arch=compute_30 -ptx compare.cu -o compare.ptx nvcc fatal : Value 'compute_30' is not defined for option 'gpu-architecture' make: *** [Makefile:10: drv] Error 1

I tried with different options and I am using RTX 3080

make COMPUTE=8.6

Same problem, please help, thanks

wilicc commented 3 years ago

Compute is 2 digits, no period in between. Also set env variables before make, e.g.: COMPUTE=60 make (should be compute capability 6.0)

Gimel-ai commented 3 years ago

Thanks will try that