Copy data from some container to an openmp_state and resize it. More...
#include <openmp_state.hpp>
Static Public Member Functions | |
static void | split (const SourceContainer &from, openmp_state< typename SourceContainer::value_type > &to) |
Copy data from some container to an openmp_state and resize it.
Target container size will determine number of blocks to split into. If it is empty, it will be resized to the maximum number of OpenMP threads. SourceContainer must support s::value_type
, s::const_iterator
, s.begin()
, s.end()
and s.size()
, with Random Access Iterators; i.e. it must be a Random Access Container.
|
inlinestatic |