MEL
Microthread & Execution library
mel::parallelism::BulkExecute< true > Struct Reference

Static Public Member Functions

template<class I , class F >
static void execute (int &cont, int nIterations, I i, I begin, I end, F &&functor, int divisionSize, int leftOver, int increment, int loopSize, ThreadPool *tp, const ThreadPool::ExecutionOpts &opts, Barrier &barrier)
 

Member Function Documentation

◆ execute()

template<class I , class F >
static void mel::parallelism::BulkExecute< true >::execute ( int &  cont,
int  nIterations,
i,
begin,
end,
F &&  functor,
int  divisionSize,
int  leftOver,
int  increment,
int  loopSize,
ThreadPool tp,
const ThreadPool::ExecutionOpts opts,
Barrier barrier 
)
inlinestatic
Note
because of internal horrible behaviour on debug iterators in visual Studio, we need to hold a copy of container to avoid hold any iterator

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