From f1fe232e89b1ca0652b516177d57ea2932ec3c19 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 14 Aug 2024 12:33:40 +0200 Subject: [PATCH] Cycles: Add parallel_reduce() to the ccl namespace Currently unused, but is a good utility to have to make code threaded in the future. --- intern/cycles/util/tbb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intern/cycles/util/tbb.h b/intern/cycles/util/tbb.h index 795c9986abd..dfc2fb5c623 100644 --- a/intern/cycles/util/tbb.h +++ b/intern/cycles/util/tbb.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -27,6 +28,7 @@ using tbb::blocked_range; using tbb::enumerable_thread_specific; using tbb::parallel_for; using tbb::parallel_for_each; +using tbb::parallel_reduce; static inline void thread_capture_fp_settings() {