Page MenuHome

Fix duplicate device names in the list
ClosedPublic

Authored by Sergey Sharybin (sergey) on Nov 8 2021, 4:19 PM.

Details

Summary

A regression since ae8510e1015: GPU devices (such as CUDA, OpenCL,
OptiX) will include CPU devices as well since this is how hybrid
rendering works.

Restructure code a bit so that an additional check for the device
type returned by _cycles.available_devices().

Diff Detail

Event Timeline

Sergey Sharybin (sergey) requested review of this revision.Nov 8 2021, 4:19 PM
Sergey Sharybin (sergey) created this revision.
This revision is now accepted and ready to land.Nov 8 2021, 6:28 PM
This revision was automatically updated to reflect the committed changes.