Commit: 3e2d7403f9f2a46f06bc4ce4d7906f7993191732
Author: Nikita Sirgienko
Date:   Tue Oct 4 18:34:54 2022 +0200
Branches: master
https://developer.blender.org/rB3e2d7403f9f2a46f06bc4ce4d7906f7993191732

Cycles: refine inlining thresholds for oneAPI backend

New thresholds give a few percent improvement in average.

===================================================================

M       intern/cycles/kernel/CMakeLists.txt

===================================================================

diff --git a/intern/cycles/kernel/CMakeLists.txt 
b/intern/cycles/kernel/CMakeLists.txt
index 682baf7c050..9cf9b761651 100644
--- a/intern/cycles/kernel/CMakeLists.txt
+++ b/intern/cycles/kernel/CMakeLists.txt
@@ -744,8 +744,8 @@ if(WITH_CYCLES_DEVICE_ONEAPI)
       -fsycl
       -fsycl-unnamed-lambda
       -fdelayed-template-parsing
-      -mllvm -inlinedefault-threshold=300
-      -mllvm -inlinehint-threshold=400
+      -mllvm -inlinedefault-threshold=250
+      -mllvm -inlinehint-threshold=350
       -fsycl-device-code-split=per_kernel
       -fsycl-max-parallel-link-jobs=${ONEAPI_OFFLINE_COMPILER_PARALLEL_JOBS}
       -shared

_______________________________________________
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

Reply via email to