Commit: bb82e85fe21df2e530204bdd4f317dfb34778a5b Author: Xavier Hallade Date: Wed Jun 22 15:07:32 2022 +0200 Branches: cycles_oneapi https://developer.blender.org/rBbb82e85fe21df2e530204bdd4f317dfb34778a5b
Cycles oneAPI: tune inlining thresholds to gain compile time This is done at the expense of performance in some cases but it's the best solution I've found without changes that could potentially impact other backends or lead to a lot of ifdef __KERNEL_ONEAPI__ everywhere. =================================================================== M intern/cycles/kernel/CMakeLists.txt =================================================================== diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index 5d7ec2bdd19..146a9d61e0a 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -723,6 +723,8 @@ if(WITH_CYCLES_DEVICE_ONEAPI) -fsycl -fsycl-unnamed-lambda -fdelayed-template-parsing + -mllvm -inlinedefault-threshold=300 + -mllvm -inlinehint-threshold=400 -shared -DWITH_ONEAPI -ffast-math _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs