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

--- Comment #8 from [email protected] ---
HEUREKA 

Using Python from the c:\Program Files\digiKam\ folder I verified OpenCV and
access to OpenCL:

>>> import cv2;
>>> print(cv2.__version__)
4.12.0
>>> cv2.ocl.setUseOpenCL(True)
>>> print(cv2.ocl.haveOpenCL())
True

With that info I looked in another direction: 

Added environment variable OPENCV_OPENCL_VERBOSE with value 1
Then changed environment variable OPENCV_OPENCL_DEVICE from INTEL:GPU:0 to
:GPU:0 

And now it is working:

digikam version 8.8.0
OpenCV Configuration: 
Threads features: 
Parallel framework: openmp
Number of Threads: 12
OpenCL platform: 
Intel(R) OpenCL Graphics: 
iGPU: Intel(R) Iris(R) Xe Graphics (OpenCL 3.0 NEO )
OpenCL Device extensions: 
cl_khr_throttle_hints: Yes
...

The GPU test for AI compatibility also passes:

"All tests completed successfully!
Test completed successfully! Your system can use GPU acceleration for the AI
models."

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to