Configure darktable not to use a particular GPU for OpenCL?

I have a MacBook Pro with Intel integrated graphics and AMD discrete graphics. darktable-cltest rejects the Intel GPU and works fine on AMD. When I attempt to activate OpenCL, darktable automatically selects ‘Multiple GPUs’. darktablerc shows this for device priorities:

opencl_device_priority=*/!0,*/*/*

Do I need to modify opencl_device_priority to only use the AMD GPU for OpenCL, or will darktable figure that out on its own? Thanks.

Hi, that config parameter is only taken into account if the scheduling profile is set to default.

Users of systems with a variety of GPUs will need better control on their relative priority. They would be better off selecting the “default” profile and fine-tuning their system with the “opencl_device_priority” configuration parameter (see multiple devices).

You need to prioritize the discrete GPU yourself if it’s not detected as device 0.

1 Like