seams-core v2.14.2
libyodaLib, the C++ engine of d-SEAMS
Loading...
Searching...
No Matches
team_run.hpp File Reference
#include <algorithm>
#include <atomic>
#include <cstddef>
#include <exception>
#include <initializer_list>
#include <mutex>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <vector>
#include "thread_team.hpp"

Go to the source code of this file.

Classes

struct  seams::team::detail::Call< F >

Namespaces

namespace  seams
namespace  seams::team
namespace  seams::team::detail

Functions

int seams::team::width ()
int seams::team::parts (int width)
template<class C>
void seams::team::detail::ompRun (const std::vector< std::size_t > &sizes, C &call)
template<class F>
void seams::team::run (const std::vector< std::size_t > &sizes, F &&fn)
template<class F>
void seams::team::run (std::initializer_list< std::size_t > chunks, F &&fn)
std::size_t seams::team::chunksOf (std::size_t n, std::size_t grain)
template<class F>
void seams::team::forRange (std::size_t n, std::size_t grain, F &&fn)