[Bf-blender-cvs] [2db6fa922bf] cycles_oneapi: Cycles: Focus on JIT oneAPI kernels for Windows

Sergey Sharybin noreply at git.blender.org
Tue Jun 28 10:14:31 CEST 2022


Commit: 2db6fa922bf10acdec42fbc26b30b4e34f68b40c
Author: Sergey Sharybin
Date:   Tue Jun 28 10:10:52 2022 +0200
Branches: cycles_oneapi
https://developer.blender.org/rB2db6fa922bf10acdec42fbc26b30b4e34f68b40c

Cycles: Focus on JIT oneAPI kernels for Windows

Disable AoT compilation on Windows and disable oneAPI on Linux.

The former is due to the buildbot taking 80+ minutes to perform
AoT kernel compilation. The latter one is due to an issue somewhere
in the tech stack which leads to crash on runtime due to ABI
incompatibility.

This means that the first deliverable would be Windows support
with JIT compilation (on artists side).

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

M	build_files/cmake/config/blender_release.cmake

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

diff --git a/build_files/cmake/config/blender_release.cmake b/build_files/cmake/config/blender_release.cmake
index 0826512c17c..42759fec7cc 100644
--- a/build_files/cmake/config/blender_release.cmake
+++ b/build_files/cmake/config/blender_release.cmake
@@ -79,7 +79,11 @@ if(UNIX AND NOT APPLE)
   set(WITH_PULSEAUDIO          ON  CACHE BOOL "" FORCE)
   set(WITH_X11_XINPUT          ON  CACHE BOOL "" FORCE)
   set(WITH_X11_XF86VMODE       ON  CACHE BOOL "" FORCE)
-  set(WITH_CYCLES_DEVICE_ONEAPI ON  CACHE BOOL "" FORCE)
+
+  # Disable oneAPI on Linux for the time being.
+  # The AoT compilation takes too long to be used officially in the buildbot CI/CD and the JIT
+  # compilation has ABI compatibility issues when running builds made on centOS on Ubuntu.
+  set(WITH_CYCLES_DEVICE_ONEAPI OFF  CACHE BOOL "" FORCE)
 endif()
 if(NOT APPLE)
   set(WITH_XR_OPENXR              ON  CACHE BOOL "" FORCE)
@@ -88,5 +92,7 @@ if(NOT APPLE)
   set(WITH_CYCLES_CUDA_BINARIES   ON  CACHE BOOL "" FORCE)
   set(WITH_CYCLES_CUBIN_COMPILER  OFF CACHE BOOL "" FORCE)
   set(WITH_CYCLES_HIP_BINARIES    ON  CACHE BOOL "" FORCE)
-  set(WITH_CYCLES_ONEAPI_BINARIES ON  CACHE BOOL "" FORCE)
+
+  # Disable AoT kernels compilations until buildbot can deliver them in a reasonabel time.
+  set(WITH_CYCLES_ONEAPI_BINARIES OFF CACHE BOOL "" FORCE)
 endif()



More information about the Bf-blender-cvs mailing list