Thanks for updating the builds so regularly. Usually, I have no problems but this time I can’t run openCL.
I did a darktable -d opencl and got this output. It shows that the device is detected but dt still can’t implement OpenCL.
/Applications/darktable.app/Contents/MacOS/darktable -d opencl
0,2916 [opencl_init] opencl disabled via darktable preferences
0,2916 [opencl_init] opencl library '/System/Library/Frameworks/OpenCL.framework/Versions/Current/OpenCL' found on your system and loaded, preference 'default path'
0,2916 [opencl_init] found 1 platform
[opencl_init] found 1 device
[dt_opencl_device_init]
DEVICE: 0: 'Apple M4 Pro'
CONF KEY: cldevice_v5_appleapplem4pro
PLATFORM, VENDOR & ID: Apple, Apple, ID=16940800
CANONICAL NAME: appleapplem4pro
DRIVER VERSION: 1.2 1.0
DEVICE VERSION: OpenCL 1.2
DEVICE_TYPE: GPU, unified mem
GLOBAL MEM SIZE: 36864 MB
MAX MEM ALLOC: 6912 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 256
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 256 256 256 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
AVOID ATOMICS: NO
MICRO NAP: 250
ROUNDUP WIDTH & HEIGHT 16x16
CHECK EVENT HANDLES: 128
TILING ADVANTAGE: 0,000
DEFAULT DEVICE: NO
KERNEL BUILD DIRECTORY: /Applications/darktable.app/Contents/Resources/share/darktable/kernels
KERNEL DIRECTORY: /Users/nick/.cache/darktable/cached_v5_kernels_for_AppleAppleM4Pro_1210
CL COMPILER OPTION: -cl-fast-relaxed-math
CL COMPILER COMMAND: -w -cl-fast-relaxed-math -DAPPLE=1 -I/Applications/darktable.app/Contents/Resources/share/darktable/kernels
UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
0,3227 [opencl_build_program] could not build program: CL_BUILD_PROGRAM_FAILURE
0,3227 [dt_opencl_device_init] failed to compile program `demosaic_ppg.cl'!
[opencl_init] no suitable devices found.
0,3227 [opencl_init] FINALLY: opencl PREFERENCE=OFF is NOT AVAILABLE and NOT ENABLED.
I usually erase the device lines in darktablerc and let dt rebuild but this time no luck. Would anyone have an idea what is happening please?
Nicolas