Hi all, does anyone know if Blender cycles through devices before doing a render? Does anyone know where that code is?
depends a bit on the render engine
for EEVEE it will just render on the opengl context the OS gave us, there’s some GL extensions to select GPU affinity but they are kind of a crapshoot between OS and Vendors (and some vendors deem these pro feature not enabled on consumer cards) so we’re not using any of them afiak.
for cycles you can find the code that deals with device detection in the