ComputationalRadiationPhysics / cuda_memtest

Fork of CUDA GPU memtest :eyeglasses:
http://sourceforge.net/projects/cudagpumemtest
110 stars 31 forks source link

CUDA error: the provided PTX was compiled with an unsupported toolchain #31

Closed JesseBusman closed 3 years ago

JesseBusman commented 3 years ago

I'm running Manjaro.

Package versions: cuda & cuda-tools: 11.3.0-1 nvidia-utils & lib32-nvidia-utils & linux512-nvidia: 460.80-1

[05/23/2021 18:30:06][computer][0]:Running cuda memtest, version 1.2.3
[05/23/2021 18:30:06][computer][0]:NVRM version: NVIDIA UNIX x86_64 Kernel Module  460.80  Fri May  7 06:55:54 UTC 2021
[05/23/2021 18:30:06][computer][0]:num_gpus=1
[05/23/2021 18:30:06][computer][0]:Device name=GeForce RTX 3070 Laptop GPU, global memory size=8346468352, serial=unknown (no NVML found)
[05/23/2021 18:30:06][computer][0]:major=8, minor=6
[05/23/2021 18:30:06][computer][0]:ERROR: CUDA error: the provided PTX was compiled with an unsupported toolchain., line 148, file /var/tmp/pamac-build-user/cuda_memtest/src/cuda_memtest/cuda_memtest.cu
[05/23/2021 18:30:06][computer][0]:ERROR: CUDA error: the provided PTX was compiled with an unsupported toolchain., line 148, file /var/tmp/pamac-build-user/cuda_memtest/src/cuda_memtest/cuda_memtest.cu
psychocoderHPC commented 3 years ago

It looks like you compiled memtest with CUDA 11.3 but the driver on your system is older.

Could you please provide the output from nvidia-smi

JesseBusman commented 3 years ago

Sorry, you're absolutely right.

# nvidia-smi                                                                                                                   INT ✘  4m 57s  
Mon May 24 12:27:20 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.80       Driver Version: 460.80       CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+

I downgraded to cuda & cuda-tools version 11.2.2, rebuilt and it works.