Error -1001 in clGetPlatformIDs Call !

前端 未结 10 1758
粉色の甜心
粉色の甜心 2020-12-20 11:41

I am trying to start working with OpenCL. I have two NVidia graphics card, I installed \"developer driver\" as well as SDK from NVidia website. I compiled the demos but when

10条回答
  •  生来不讨喜
    2020-12-20 12:04

    I just ran into this problem on ubuntu 14.04 and I could not find ANY working answers anywhere online including this thread (though this was the first to show up on google). What ended up working for me was to remove ALL previous nvidia software and then to reinstall it using the .run file provided on the nvidia website. Installing the components through apt-get seems to fail for some reason.

    1) Download CUDA .run file: https://developer.nvidia.com/cuda-downloads

    2) Purge all previous nvidia packages

    sudo apt-get purge nvidia-*
    

    3) Install all run file components (you will likely have to stop X or restart in recovery mode to run this)

    sudo sh cuda_X.X.XX_linux.run
    

提交回复
热议问题