Commit: b25c301c15dc078fa4f0c12aed1e2ffa256dc9a2 Author: Brecht Van Lommel Date: Wed Nov 30 21:11:41 2022 +0100 Branches: master https://developer.blender.org/rBb25c301c15dc078fa4f0c12aed1e2ffa256dc9a2
Build: make CUDA kernel compilation output not verbose Unless using WITH_CYCLES_DEBUG. This is convenient for investigating kernel performance, but too verbose to always have in the buildbot logs especially now that we are also compiling HIP and OneAPI kernels. =================================================================== M intern/cycles/kernel/CMakeLists.txt =================================================================== diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index dd96cfd5058..cb1f720af26 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -472,6 +472,7 @@ if(WITH_CYCLES_CUDA_BINARIES) if(WITH_CYCLES_DEBUG) set(cuda_flags ${cuda_flags} -D WITH_CYCLES_DEBUG) + set(cuda_flags ${cuda_flags} --ptxas-options="-v") endif() set(_cuda_nvcc_args @@ -479,7 +480,6 @@ if(WITH_CYCLES_CUDA_BINARIES) ${CUDA_NVCC_FLAGS} --${format} ${CMAKE_CURRENT_SOURCE_DIR}${cuda_kernel_src} - --ptxas-options="-v" ${cuda_flags}) if(WITH_COMPILER_CCACHE AND CCACHE_PROGRAM) _______________________________________________ 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