Commit: 803cb750275d867a1355f9526750d92a5e2551a7
Author: Xavier Hallade
Date:   Tue Jun 21 16:31:49 2022 +0200
Branches: cycles_oneapi
https://developer.blender.org/rB803cb750275d867a1355f9526750d92a5e2551a7

Cleanup: deduplicate sycl compilation options

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

M       intern/cycles/kernel/CMakeLists.txt

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

diff --git a/intern/cycles/kernel/CMakeLists.txt 
b/intern/cycles/kernel/CMakeLists.txt
index be10dc2e7d2..5d7ec2bdd19 100644
--- a/intern/cycles/kernel/CMakeLists.txt
+++ b/intern/cycles/kernel/CMakeLists.txt
@@ -764,10 +764,9 @@ if(WITH_CYCLES_DEVICE_ONEAPI)
     endforeach()
   else()
     # If AOT is disabled, build for spir64
-    set (CYCLES_ONEAPI_GPU_COMPILATION_OPTIONS "-internal_options 
'-ze-opt-large-register-file -ze-opt-regular-grf-kernel integrator_intersect'")
     list(APPEND sycl_compiler_flags
       -fsycl-targets=spir64
-      -Xsycl-target-backend=spir64 "${CYCLES_ONEAPI_GPU_COMPILATION_OPTIONS}")
+      -Xsycl-target-backend=spir64 "${CYCLES_ONEAPI_SYCL_OPTIONS_spir64}")
   endif()
 
   if(WITH_NANOVDB)

_______________________________________________
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