diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index 59c98a91785..d643572d839 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -942,8 +942,6 @@ if(WITH_CYCLES_DEVICE_ONEAPI) -fsycl -fsycl-unnamed-lambda -fdelayed-template-parsing - -mllvm -inlinedefault-threshold=250 - -mllvm -inlinehint-threshold=350 -fsycl-device-code-split=per_kernel -fsycl-max-parallel-link-jobs=${SYCL_OFFLINE_COMPILER_PARALLEL_JOBS} --offload-compress diff --git a/intern/cycles/kernel/light/tree.h b/intern/cycles/kernel/light/tree.h index 98b76033edf..f151059e192 100644 --- a/intern/cycles/kernel/light/tree.h +++ b/intern/cycles/kernel/light/tree.h @@ -913,14 +913,14 @@ ccl_device float light_tree_pdf(KernelGlobals kg, /* If the function is called in volume, retrieve the previous point in volume segment, and compute * pdf from there. Otherwise compute from the current shading point. */ -ccl_device_inline float light_tree_pdf(KernelGlobals kg, - float3 P, - const float3 N, - const float dt, - const int path_flag, - const int emitter_object, - const uint emitter_id, - const int object_receiver) +ccl_device float light_tree_pdf(KernelGlobals kg, + float3 P, + const float3 N, + const float dt, + const int path_flag, + const int emitter_object, + const uint emitter_id, + const int object_receiver) { if (path_flag & PATH_RAY_VOLUME_SCATTER) { const float3 D_times_t = N;