[Bf-blender-cvs] [749af6d36cc] functions: enable threading again
Jacques Lucke
noreply at git.blender.org
Sun Jun 30 16:01:02 CEST 2019
Commit: 749af6d36ccca1e07c2c4fc0d29b144836a3b6a8
Author: Jacques Lucke
Date: Sun Jun 30 12:10:40 2019 +0200
Branches: functions
https://developer.blender.org/rB749af6d36ccca1e07c2c4fc0d29b144836a3b6a8
enable threading again
===================================================================
M source/blender/simulations/bparticles/simulate.cpp
===================================================================
diff --git a/source/blender/simulations/bparticles/simulate.cpp b/source/blender/simulations/bparticles/simulate.cpp
index b538f196658..136b1f170d8 100644
--- a/source/blender/simulations/bparticles/simulate.cpp
+++ b/source/blender/simulations/bparticles/simulate.cpp
@@ -7,7 +7,7 @@
#include "xmmintrin.h"
-#define USE_THREADING false
+#define USE_THREADING true
#define BLOCK_SIZE 1000
namespace BParticles {
@@ -466,7 +466,6 @@ BLI_NOINLINE static void simulate_block_time_span_cb(void *__restrict userdata,
const int index,
const ParallelRangeTLS *__restrict tls)
{
- SCOPED_TIMER_STATS(__func__);
SimulateTimeSpanData *data = (SimulateTimeSpanData *)userdata;
ThreadLocalData *my_data;
More information about the Bf-blender-cvs
mailing list