[Bf-blender-cvs] [56f9fe36c30] cycles_oneapi: Fix: Wrong value of cmake variable ONEAPI_KERNEL_BUILD_TYPE
Nikita Sirgienko
noreply at git.blender.org
Fri Apr 1 01:07:34 CEST 2022
Commit: 56f9fe36c3034efe02d51c0587518e3fdd105d36
Author: Nikita Sirgienko
Date: Fri Apr 1 00:02:06 2022 +0200
Branches: cycles_oneapi
https://developer.blender.org/rB56f9fe36c3034efe02d51c0587518e3fdd105d36
Fix: Wrong value of cmake variable ONEAPI_KERNEL_BUILD_TYPE
===================================================================
M intern/cycles/device/CMakeLists.txt
===================================================================
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt
index 6d54acf545a..ea7005ab254 100644
--- a/intern/cycles/device/CMakeLists.txt
+++ b/intern/cycles/device/CMakeLists.txt
@@ -196,7 +196,7 @@ if (WITH_CYCLES_DEVICE_ONEAPI)
if (WITH_CYCLES_ONEAPI_BINARIES AND NOT GENERATOR_IS_MULTI_CONFIG)
#NOTE(sirginko) Disable this, when GPU AOT will work with Debug information (for Debug and RelWithDebInfo builds)
message(STATUS "Change ONEAPI_KERNEL_BUILD_TYPE value from \"${ONEAPI_KERNEL_BUILD_TYPE}\" to \"Release\", because other builds don't work for GPU AOT yet")
- set(ONEAPI_KERNEL_BUILD_TYPE "Debug")
+ set(ONEAPI_KERNEL_BUILD_TYPE "Release")
endif()
if (GENERATOR_IS_MULTI_CONFIG AND CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
More information about the Bf-blender-cvs
mailing list