#include "pxr/pxr.h"
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include <tbb/parallel_for_each.h>
#include <tbb/task_group.h>
Go to the source code of this file.
| #define WORK_IMPL_HAS_PARALLEL_FOR_TBB_RANGE |
If this is not defined then WorkImpl_ParallelForTBBRange will default to a WorkDispatcher based WorkParallelForTBBRange that is provided in work/loops.h
Definition at line 21 of file loops_impl.h.
template<typename InputIterator , typename Fn >
| void WorkImpl_ParallelForEach |
( |
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
Fn && |
fn |
|
) |
| |
|
inline |
Implements WorkParallelForEach
Definition at line 73 of file loops_impl.h.
template<typename RangeType , typename Fn >
| void WorkImpl_ParallelForTBBRange |
( |
const RangeType & |
range, |
|
|
Fn && |
callback |
|
) |
| |
|
inline |
Implements WorkParallelForTBBRange
Definition at line 63 of file loops_impl.h.