HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reduce_impl.h File Reference
#include "pxr/pxr.h"
#include <tbb/blocked_range.h>
#include <tbb/parallel_reduce.h>
#include <tbb/task_group.h>
+ Include dependency graph for reduce_impl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename Fn , typename Rn , typename V >
PXR_NAMESPACE_OPEN_SCOPEWorkImpl_ParallelReduceN (const V &identity, size_t n, Fn &&loopCallback, Rn &&reductionCallback, size_t grainSize)
 

Function Documentation

template<typename Fn , typename Rn , typename V >
PXR_NAMESPACE_OPEN_SCOPE V WorkImpl_ParallelReduceN ( const V &  identity,
size_t  n,
Fn &&  loopCallback,
Rn &&  reductionCallback,
size_t  grainSize 
)

TBB Parallel Reduce Implementation

Implements WorkParallelReduceN

Definition at line 24 of file reduce_impl.h.