Not all OpenCL devices used during render
Closed, ResolvedPublic

Description

System Information
Windows 10 - 2x AMD Radeon RX 480

Blender Version
Broken: 2.79 5bd8ac9 - default 2.79 from blender.org

Short description of error
Blender is only rendering using single GPU even when both are selected.

Exact steps for others to reproduce the error
default scene. User Preferences shows both GPU.s Selecting one selects both devices. Unselecting one unselects both devices. When both are selected, GPU rendering is performed on single GPU.

Checked in LuxRender benchmark and i can see both devices, and render on both or single.

Drivers Adrenalin drivers17.12.2

Related Objects

I committed a fix for this issue, but I couldn't reproduce the bug so I'm not sure if it works. My guess is that for whatever reason the driver is not giving us unique IDs for each device.

Tomorrow's build from https://builder.blender.org/download/ should have the fix.

Tested and confirm patch working as expected