ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
TBBExecutor.h

The executor on the threads of oneTBB, beyond the book, compiled only with ADS_WITH_TBB (the CMake option of the same name, OFF by default) and oneTBB on the path. More...

Files

file  ADS/parallel/TBBExecutor.h
 The executor [see Executor.h] on the threads of oneTBB, beyond the book, compiled only with ADS_WITH_TBB (the CMake option of the same name, OFF by default) and oneTBB on the path: the executor runs in a task_arena, bulk( n , f ) is a parallel_for of oneTBB on the \( n \) indices with the simple partitioner (a task per index, since the patterns of ADS already give it blocks), and invoke( f , g ) is parallel_invoke, both run in the arena, so that the parallel algorithms of ADS run on the scheduler of oneTBB unchanged, and nest as its tasks do.

Classes

class  ADS::TBBExecutor
 the executor on an arena of oneTBB More...

Detailed description

The executor on the threads of oneTBB, beyond the book, compiled only with ADS_WITH_TBB (the CMake option of the same name, OFF by default) and oneTBB on the path.

The definitions, the invariants and the costs of the area are in Theory of parallelism.