HAL
parallel_for_each.h File Reference
#include "hal_core/defines.h"
#include <cmath>
#include <functional>
#include <set>
#include <thread>
Include dependency graph for parallel_for_each.h:

Go to the source code of this file.

Namespaces

 hal
 
 hal::dataflow
 
 hal::dataflow::utils
 

Functions

template<typename R >
void hal::dataflow::utils::parallel_for_each (u32 begin, u32 end, R func)
 
template<typename T , typename R >
void hal::dataflow::utils::parallel_for_each (const std::vector< T > &elements, R func)
 
template<typename T , typename R >
void hal::dataflow::utils::parallel_for_each (const std::set< T > &elements, R func)
 
template<typename T , typename R >
void hal::dataflow::utils::parallel_for_each (const std::unordered_set< T > &elements, R func)