CUDA driver version is insufficient for CUDA runtime version

前端 未结 8 1157
抹茶落季
抹茶落季 2020-12-05 13:48

I got the message:

\"cutilCheckMsg() CUTIL CUDA error :
kernel launch failure : CUDA driver
version is insufficient for CUDA
runtime

相关标签:
8条回答
  • 2020-12-05 14:15

    You can either download the latest driver OR use an older toolkit version to compile your code.

    0 讨论(0)
  • 2020-12-05 14:19

    CUDA driver version is insufficient for CUDA runtime version: means your GPU can`t been manipulated by the CUDA runtime API, so you need to update your driver.

    0 讨论(0)
  • 2020-12-05 14:20

    My cent,

    with Linux/Unix this error may be related to the selected GPU mode (Performance/Power Saving Mode), when you select (with nvidia-settings utiliy) the integrated Intel GPU and you execute the deviceQuery script... you get this error:

    -> CUDA driver version is insufficient for CUDA runtime version

    But this error is misleading, by selecting back the NVIDIA(Performance mode) with nvidia-settings utility the problem disappears.

    It is not a version problem.

    Regards

    P.s: "Power Saving Mode" tells Optimus to activate the CPU integrated Intel GPU

    0 讨论(0)
  • 2020-12-05 14:22

    I saw the same at runtime with the latest driver on Mac OS 10.6.

    cudaError_t error = cudaGetDevice(&device);
    printf("%s\n", cudaGetErrorString(error));
    

    I went back to the developer site, downloaded the driver again and now it runs. http://developer.nvidia.com/object/cuda_3_1_downloads.html#MacOS

    0 讨论(0)
  • 2020-12-05 14:23

    You need to ensure that your driver version matches or exceeds your CUDA Toolkit version.

    For 2.3 you need a 190.x driver, for 3.0 you need 195.x and for 3.1 you need 256.x (actually anything up to the next multiple of five is ok, e.g. 258.x for 3.1).

    You can check your driver version by either running the deviceQueryDrv SDK sample or go into the NVIDIA Control Panel and choose System Information.

    Download an updated driver from www.nvidia.com/drivers.

    0 讨论(0)
  • 2020-12-05 14:24

    I also had similar problem, updated my graphic driver but the problem still remained. I finally decided to remove Cuda 9.2 and install Cuda 8, it solved my issue.

    0 讨论(0)
提交回复
热议问题