Blender Git Commit Log

Git Commits -> Revision 7c7a985

Revision 7c7a985 by Sergey Sharybin (cycles-x)
March 26, 2021, 14:51 (GMT)
Fix Cycles crash when changing number of threads at runtime

Create a local arena with exact number of threads, so that the
`tbb::this_task_arena::current_thread_index` returns proper index.

Need to verify that this does not spawn new worker threads and
that this actually works under all circumstances.

Commit Details:

Full Hash: 7c7a9856d95de55d92171c8ac7098a684384ff68
Parent Commit: 6b0fecf
Lines Changed: +50, -44

2 Modified Paths:

/intern/cycles/integrator/path_trace_work_cpu.cpp (+27, -24) (Diff)
/intern/cycles/integrator/shader_eval.cpp (+23, -20) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021