After installing cuda in my laptop it apparently is still missing the support for the specific GPU, on ubuntu 22.04. I have followed the instructions in CUDA Toolkit 12.1 Update 1 Downloads | NVIDIA Developer
When running some of the examples I get a message like this:
cuda-samples/Samples/6_Performance/LargeKernelParameter$ make
/usr/bin/nvcc -ccbin g++ -I…/…/…/Common -m64 --std=c++11 --threads 0 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -o LargeKernelParameter.o -c LargeKernelParameter.cu
nvcc fatal : Unsupported gpu architecture ‘compute_89’
make: *** [Makefile:324: LargeKernelParameter.o] Error 1
Latest cuda toolkit is installed and latest nvidia propietary driver, but nvcc shows that the version is 11.5 and which apparently doesn’t support ‘compute_89’ arch. Some system information:
$ lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
$
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0
$
$ nvcc --list-gpu-arch
compute_35
compute_37
compute_50
compute_52
compute_53
compute_60
compute_61
compute_62
compute_70
compute_72
compute_75
compute_80
compute_86
compute_87
$
$ nvidia-smi
Sun Jun 18 07:41:56 2023
±--------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03 Driver Version: 530.41.03 CUDA Version: 12.1 |
|-----------------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce GTX 1650 T… Off| 00000000:01:00.0 Off | N/A |
| N/A 40C P0 6W / N/A| 6MiB / 4096MiB | 0% Default |
| | | N/A |
±----------------------------------------±---------------------±---------------------+
±--------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 2215 G /usr/lib/xorg/Xorg 4MiB |
±--------------------------------------------------------------------------------------+
Any thought on what could be missing in this configuration?