Enabling openCL on Darktable with an NVidia graphics card

I recently noticed that Darktable processing was slower than I expected and on investigation that openCL wasn’t being used. Running darktable-cltest gives:

0.020659 [opencl_init] opencl related configuration options:
0.020667 [opencl_init] 
0.020669 [opencl_init] opencl: 1
0.020671 [opencl_init] opencl_scheduling_profile: 'very fast GPU'
0.020674 [opencl_init] opencl_library: ''
0.020676 [opencl_init] opencl_memory_requirement: 768
0.020679 [opencl_init] opencl_memory_headroom: 400
0.020682 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
0.020686 [opencl_init] opencl_mandatory_timeout: 200
0.020689 [opencl_init] opencl_size_roundup: 16
0.020709 [opencl_init] opencl_async_pixelpipe: 0
0.020712 [opencl_init] opencl_synch_cache: active module
0.020714 [opencl_init] opencl_number_event_handles: 25
0.020717 [opencl_init] opencl_micro_nap: 1000
0.020720 [opencl_init] opencl_use_pinned_memory: 0
0.020722 [opencl_init] opencl_use_cpu_devices: 0
0.020724 [opencl_init] opencl_avoid_atomics: 0
0.020739 [opencl_init] 
0.020811 [opencl_init] could not find opencl runtime library 'libOpenCL'
0.020840 [opencl_init] could not find opencl runtime library 'libOpenCL.so'
0.021027 [opencl_init] found opencl runtime library 'libOpenCL.so.1'
0.021041 [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded
0.048800 [opencl_init] could not get platforms: -1001
0.048810 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
0.048812 [opencl_init] initial status of opencl enabled flag is OFF.

Running clinfo gives

Number of platforms                               0

I have an NVidia GEforce GTX 1070 and am using the proprietary NVidia driver.

Any ideas as to why openCL is disabled.

Hi
How did you install the driver?

I use the run file here for driver, as well as install cuda and cudnn manually…


Number of platforms                               1
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 3.0 CUDA 11.5.103
  Platform Profile                                FULL_PROFILE