![]() |
deal.II version 9.7.0
|
Functions | |
| template<typename Worker, typename Copier, typename Iterator, typename ScratchData, typename CopyData> | |
| void | run (const std::vector< std::vector< Iterator > > &colored_iterators, Worker worker, Copier copier, const ScratchData &sample_scratch_data, const CopyData &sample_copy_data, const unsigned int=2 *MultithreadInfo::n_threads(), const unsigned int chunk_size=8) |
Mostly a copy of the 3rd implementation of the Workstream paper taking advantage of thread local lists for re-use. Uses taskflow for task scheduling rather than TBB. Currently does not support chunking.
| void WorkStream::internal::taskflow_colored::run | ( | const std::vector< std::vector< Iterator > > & | colored_iterators, |
| Worker | worker, | ||
| Copier | copier, | ||
| const ScratchData & | sample_scratch_data, | ||
| const CopyData & | sample_copy_data, | ||
| const unsigned int | = 2 * MultithreadInfo::n_threads(), | ||
| const unsigned int | chunk_size = 8 ) |
The main run function for the taskflow colored implementation. The last two arguments in this function are for chunking support which currently does not exist but ideally will later. For now they are ignored but still here to permit existing programs to function.
Definition at line 1227 of file work_stream.h.