![]() |
deal.II version 9.8.0
|
Functions | |
| template<typename Worker, typename Copier, typename Iterator, typename ScratchData, typename CopyData> | |
| void | run (const Iterator &begin, const std_cxx20::type_identity_t< Iterator > &end, 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 2nd implementation of the Workstream paper taking advantage of thread local lists for re-use. Uses taskflow for task scheduling rather than TBB.
| void WorkStream::internal::taskflow_no_coloring::run | ( | const Iterator & | begin, |
| const std_cxx20::type_identity_t< Iterator > & | end, | ||
| 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 colorless implementation. Queue length is relevant to the parallel pipeline implementation using TBB but not used by taskflow. The parameter is kept here to maintain support for calls to workstream written for TBB.
Definition at line 735 of file work_stream.h.