-2

I use OpenCl for parallel computing via Colab, when trying to get information about platform using

clGetPlatformIDs(1, NULL, &num_platforms);

i get error = -1001. can anybody tell me what this meaning and how to fix it?

1 Answers1

0

I had the same issue and I found my answer here: can not use lightgbm gpu in colab : LightGBMError: No OpenCL device found

!sudo apt install nvidia-driver-460 nvidia-cuda-toolkit clinfo
!apt-get update --fix-missing

The OpenCL driver for NVDIA are not installed by default

Lcara
  • 1