MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
parallelfor.h File Reference

Go to the source code of this file.

Classes

struct  maia::RangeIterator
 Dummy iterator class. More...
 

Namespaces

namespace  maia
 Namespace for auxiliary functions/classes.
 

Functions

template<class UnaryFunction >
void maia::parallelFor_base (MInt begin, MInt end, UnaryFunction &&f)
 Wrapper function for parallel for loop (no PSTL) More...
 
template<class UnaryFunction >
void maia::parallelFor_pstl (MInt begin, MInt end, UnaryFunction &&f)
 Wrapper function for parallel for loop (PSTL) More...
 
template<MBool portedToGpu = false, class UnaryFunction >
void maia::parallelFor (MInt begin, MInt end, UnaryFunction &&f)
 Wrapper function for parallel for loop. More...
 
template<class UnaryFunction , class T >
void maia::parallelFor_base (const std::vector< T > &container, UnaryFunction &&f)
 Wrapper function for parallel for loop (STL container based, no PSTL) More...
 
template<class UnaryFunction , class T >
void maia::parallelFor_pstl (const std::vector< T > &container, UnaryFunction &&f)
 Wrapper function for parallel for loop (STL container based, PSTL) More...
 
template<MBool portedToGpu = false, class UnaryFunction , class T >
void maia::parallelFor (const std::vector< T > &container, UnaryFunction &&f)
 Wrapper function for parallel for loop (STL container based) More...
 
template<MInt nDim, class UnaryFunction >
void maia::parallelFor_base (std::array< MInt, nDim > begin, std::array< MInt, nDim > end, UnaryFunction &&f)
 Wrapper function for parallel nested for loops [NON-PSTL]. More...
 
template<MInt nDim, class UnaryFunction >
void maia::parallelFor_pstl (std::array< MInt, nDim > begin, std::array< MInt, nDim > end, UnaryFunction &&f)
 Wrapper function for parallel nested for loops [PSTL]. More...
 
template<MBool portedToGpu = false, MInt nDim, class UnaryFunction >
void maia::parallelFor (std::array< MInt, nDim > begin, std::array< MInt, nDim > end, UnaryFunction &&f)
 Wrapper function for parallel nested for loops. More...