Reference documentation for deal.II version GIT relicensing-446-ge11b936273 2024-04-20 12:30:02+00:00
\(\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
Classes | Functions
WorkStream::internal::tbb_colored Namespace Reference

Classes

struct  ScratchAndCopyDataObjects
 
class  WorkerAndCopier
 

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 chunk_size)
 

Detailed Description

A namespace for the implementation of details of the WorkStream pattern and function. This namespace holds classes that deal with the third implementation described in the paper by Turcksin, Kronbichler and Bangerth (see workstream_paper).

Function Documentation

◆ run()

template<typename Worker , typename Copier , typename Iterator , typename ScratchData , typename CopyData >
void WorkStream::internal::tbb_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  chunk_size 
)

The colored run function using TBB.

Definition at line 965 of file work_stream.h.