From c43eab55a417162624f47aed6bbbd0a4bd41c607 Mon Sep 17 00:00:00 2001 From: Jakub Mateusz Marcowski <01158831@pw.edu.pl> Date: Sat, 24 Feb 2024 12:40:55 +0100 Subject: embree: Update to 4.3.1 --- thirdparty/embree/common/algorithms/parallel_reduce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thirdparty/embree/common/algorithms/parallel_reduce.h') diff --git a/thirdparty/embree/common/algorithms/parallel_reduce.h b/thirdparty/embree/common/algorithms/parallel_reduce.h index cd0078f2e6..51ec0a6405 100644 --- a/thirdparty/embree/common/algorithms/parallel_reduce.h +++ b/thirdparty/embree/common/algorithms/parallel_reduce.h @@ -43,7 +43,7 @@ namespace embree template __forceinline Value parallel_reduce( const Index first, const Index last, const Index minStepSize, const Value& identity, const Func& func, const Reduction& reduction ) { -#if defined(TASKING_INTERNAL) +#if defined(TASKING_INTERNAL) && !defined(TASKING_TBB) /* fast path for small number of iterations */ Index taskCount = (last-first+minStepSize-1)/minStepSize; -- cgit v1.2.3