Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
bvh::v2::Executor< Derived > Struct Template Reference

template<typename Derived>
struct bvh::v2::Executor< Derived >

Helper object that provides iteration and reduction over one-dimensional ranges.

Definition at line 14 of file executor.h.

Public Member Functions

template<typename Loop >
void for_each (size_t begin, size_t end, const Loop &loop)
 
template<typename T , typename Reduce , typename Join >
reduce (size_t begin, size_t end, const T &init, const Reduce &reduce, const Join &join)
 

#include <bvh/v2/executor.h>

Member Function Documentation

◆ for_each()

template<typename Derived >
template<typename Loop >
void bvh::v2::Executor< Derived >::for_each ( size_t begin,
size_t end,
const Loop & loop )
inline

Definition at line 16 of file executor.h.

◆ reduce()

template<typename Derived >
template<typename T , typename Reduce , typename Join >
T bvh::v2::Executor< Derived >::reduce ( size_t begin,
size_t end,
const T & init,
const Reduce & reduce,
const Join & join )
inline

Definition at line 21 of file executor.h.


The documentation for this struct was generated from the following file: