Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Hallade <xavier.hallade@intel.com>2022-06-22 16:07:32 +0300
committerXavier Hallade <xavier.hallade@intel.com>2022-06-22 17:26:02 +0300
commitbb82e85fe21df2e530204bdd4f317dfb34778a5b (patch)
tree2a60ff338a7201f2ba2f4447aab124e98de5047d /intern/cycles
parent7464ecb461a26a59062e423426ca5061a7bb14ef (diff)
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.
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/kernel/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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