Nvcc warning : Support for offline compilation for architectures

So i’m seeing this warning :
“nvcc warning : Support for offline compilation for architectures prior to ‘<compute/sm/lto>_75’ will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).”

Im on a 3050ti laptop should i be worried?

╰─[:)] % nvidia-smi
Tue Mar 25 05:55:33 2025
±----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.133.07 Driver Version: 570.133.07 CUDA Version: 12.8 |
|-----------------------------------------±-----------------------±---------------------+
| 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 RTX 3050 … On | 00000000:01:00.0 Off | N/A |
| N/A 36C P8 752W / 30W | 35MiB / 4096MiB | 0% Default |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+

±----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 721 G /usr/lib/Xorg 25MiB |
±----------------------------------------------------------------------------------------+

That warning doesn’t apply to your GPU. Your GPU is compute capability 7.5 or higher (newer). Your GPU compute capability should be 8.6, which you can confirm by running the deviceQuery sample code.

1 Like

Thanks for the clarification !!
I added a flag -arch=sm_86 and the warning went away
I’m very new to cuda programming is there any advice or tips i can get from you Mr Crovella?

(currently read the book PMPP)