deal.II version 9.8.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
WorkStream::internal::taskflow_colored Namespace Reference

Classes

class  WorkerAndCopier

Functions

template<typename Worker, typename Copier, typename Iterator, typename ScratchData, typename CopyData>
void run (const std::vector< std::vector< Iterator > > &colored_iterators, const Worker &worker, const Copier &copier, const ScratchData &sample_scratch_data, const CopyData &sample_copy_data, const unsigned int chunk_size)

Detailed Description

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.

Function Documentation

◆ run()

template<typename Worker, typename Copier, typename Iterator, typename ScratchData, typename CopyData>
void WorkStream::internal::taskflow_colored::run ( const std::vector< std::vector< Iterator > > & colored_iterators,
const Worker & worker,
const Copier & copier,
const ScratchData & sample_scratch_data,
const CopyData & sample_copy_data,
const unsigned int chunk_size )

The colored run function using taskflow.

Definition at line 1373 of file work_stream.h.