Support for OpenCL on Intel discrete GPUs in 8.8.0?

Are there plans to implement OpenCL on Intel discrete GPUs in the next release of Digikam? I understand OpenCL on Nividia cards is currently supported.

I’m enjoying the new facial recognition and tagging features in 8.7.0 and I’m looking forward to enhancing and accelerating those features with my GPU.

Thank you very much for your work and dedication to Digikam - I really appreciate it!

  • James Penn

Are you sure that OpenCL is correctly configured on your system?

clinfo

I can’t load the entire output of clinfo because it exceeds the 32K character limit of this message. I think these are the relevant bits though:

james@xxxxxxxxx:~$ clinfo -l

Platform #0: Intel(R) OpenCL Graphics
   Device #0: Intel(R) Arc(TM) A770 Graphics
Platform #1: Intel(R) OpenCL
   Device #0: 12th Gen Intel(R) Core(TM) i5-12600K
Platform #2: rusticl
Platform #3: Clover
james@xxxxxxxxx:~$ clinfo | tail -n 5
ICD loader properties
  ICD loader Name:                                 Khronos OpenCL ICD Loader
  ICD loader Vendor:                               Khronos Group
  ICD loader Version:                              3.0.6
  ICD loader Profile:                              OpenCL 3.0

Digikam Help > Components Information > Libraries shows LibOpenCV 4.11.0 is available.

Digikam Help > Components Information > OpenCV Configuation shows threads and hardware features are available, but OpenCL is not.

I originally thought it might be part of this bug:

https://bugs.kde.org/show_bug.cgi?id=506495

but I’m using a Snap, not AppImage, provided via the distribution’s software center.

This is my system:

Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-23-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-12600K
Memory: 31.1 GiB of RAM
Graphics Processor: Intel® Arc
Manufacturer: ASUS

What do you think?

Digikam’s guide doesn’t say much… but consider that their own screenshot shows that OpenCL doesn’t work :slight_smile:

I ran into the same problem, and this is the only mention I’ve found.

What I did to resolve it is:

  1. Goto digiKam – Configuration – Miscellaneous
  2. Switch to the system tab
  3. Enable the Check box on Use OpenCL hardware acceleration.
  4. Hit Ok
  5. Close digiKam
  6. Reopen digiKam
  7. return to digiKam – Configuration – Miscellaneous System Tab
  8. NOW test your GPU.

I bet it passes.