Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-10-31 15:18:28 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-11-01 10:36:50 +0300
commit806521f7037a5a50bba9d332ab5de3b0172c5a22 (patch)
treeac075e3972e0b844ff76a8382f328a814e8dc319 /intern/cycles/util
parent154a06077773a5236d388cc47cdaee9d312abd0a (diff)
Fix T92671: confusing Cycles debug logs about CPU architecture
Instead of printing debug flags listing various CPU and GPU settings that may or may not be used, print when we are using them. This include CPU kernel types, OptiX debugging and CUDA and HIP adaptive compilation. BVH type was already printed.
Diffstat (limited to 'intern/cycles/util')
-rw-r--r--intern/cycles/util/debug.cpp22
-rw-r--r--intern/cycles/util/debug.h2
2 files changed, 0 insertions, 24 deletions
diff --git a/intern/cycles/util/debug.cpp b/intern/cycles/util/debug.cpp
index b49df3d42bc..7d5b6d4e54e 100644
--- a/intern/cycles/util/debug.cpp
+++ b/intern/cycles/util/debug.cpp
@@ -99,26 +99,4 @@ void DebugFlags::reset()
optix.reset();
}
-std::ostream &operator<<(std::ostream &os, DebugFlagsConstRef debug_flags)
-{
- os << "CPU flags:\n"
- << " AVX2 : " << string_from_bool(debug_flags.cpu.avx2) << "\n"
- << " AVX : " << string_from_bool(debug_flags.cpu.avx) << "\n"
- << " SSE4.1 : " << string_from_bool(debug_flags.cpu.sse41) << "\n"
- << " SSE3 : " << string_from_bool(debug_flags.cpu.sse3) << "\n"
- << " SSE2 : " << string_from_bool(debug_flags.cpu.sse2) << "\n"
- << " BVH layout : " << bvh_layout_name(debug_flags.cpu.bvh_layout) << "\n";
-
- os << "CUDA flags:\n"
- << " Adaptive Compile : " << string_from_bool(debug_flags.cuda.adaptive_compile) << "\n";
-
- os << "OptiX flags:\n"
- << " Debug : " << string_from_bool(debug_flags.optix.use_debug) << "\n";
-
- os << "HIP flags:\n"
- << " HIP streams : " << string_from_bool(debug_flags.hip.adaptive_compile) << "\n";
-
- return os;
-}
-
CCL_NAMESPACE_END
diff --git a/intern/cycles/util/debug.h b/intern/cycles/util/debug.h
index 58b2b047261..548c67600e5 100644
--- a/intern/cycles/util/debug.h
+++ b/intern/cycles/util/debug.h
@@ -160,8 +160,6 @@ inline DebugFlags &DebugFlags()
return DebugFlags::get();
}
-std::ostream &operator<<(std::ostream &os, DebugFlagsConstRef debug_flags);
-
CCL_NAMESPACE_END
#endif /* __UTIL_DEBUG_H__ */