The OpenCL 2.0 compiler of AMD improves the render time, even without using
an OpenCL 2.0 feature. Additional performance can be added later when
using specific OpenCL 2.0 features.
This patch adds a setting in Preferences -> System -> Cycles Render Devices -> OpenCL where OpenCL 2.0 compilation can be enabled.
By default we don't enable the OpenCL 2.0 compilation as it requires more RAM to finish compilation (+16GB) due to the multi process compilation.
Performance impact in seconds Linux AMD Vega 64
**Master** bmw27: 89 barbershop_interior: 673 classroom: 173 fishy_cat: 196 koro: 207 pavillon_barcelona: 414 **Patch Applied** bmw27: 84 barbershop_interior: 497 classroom: 153 fishy_cat: 190 koro: 202 pavillon_barcelona: 417