Cycles: Add parallel_reduce() to the ccl namespace
Currently unused, but is a good utility to have to make code threaded in the future.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <tbb/enumerable_thread_specific.h>
|
||||
#include <tbb/parallel_for.h>
|
||||
#include <tbb/parallel_for_each.h>
|
||||
#include <tbb/parallel_reduce.h>
|
||||
#include <tbb/task_arena.h>
|
||||
#include <tbb/task_group.h>
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user