|
| void | executeTaskGraph (Span< const Task > tasks, void *context, Task::SharedMemorySize requiredSharedMemorySize, CStringView name, Statistics *statistics) override |
| | Execute a pre-built task graph using this executor.
|
| void | executeParallelTasks (void *subTaskContext, Task::ParallelCount subTaskCount, ParallelTask subTask, Task::SharedMemorySize taskRequiredSharedMemorySize, Statistics *statistics) override |
| | Execute a set parallel sub-tasks through a ParallelTask function that performs a specific chunk of work based on the index of each sub-task (and the total number of them), using this executor.
|
| Task::ParallelCount | getMaxParallelism () const noexcept override |
| | Get the maximum number of parallel threads of execution that this executor can run tasks on simultaneously.
|
| virtual | ~Executor ()=default |
| | Virtual destructor.
|
| template<typename EntReg, typename ResReg> |
| void | executeSchedule (const Schedule< EntReg, ResReg > &schedule, EntReg &entities, ResReg &resources, Statistics *statistics=nullptr) |
| | Execute a pre-built task Schedule using this executor.
|
| template<typename Range, typename UnaryProcedure> |
| void | executeOperation (Range &&range, UnaryProcedure operation) |
| | Execute an operation on each element in a given range, sequentially.
|
| template<typename Range, typename UnaryProcedure> |
| void | executeParallelOperation (Range &&range, UnaryProcedure operation) |
| | Execute an operation on each element in a given range, in up to getMaxParallelism() parallel chunks using this executor.
|
| template<typename IndexRange, typename Range, typename UnaryProcedure> |
| void | executeSparseOperation (const IndexRange &indices, Range &&range, UnaryProcedure operation) |
| | Execute an operation on each indexed element specified by a given range of indices, sequentially.
|
| template<typename IndexRange, typename Range, typename UnaryProcedure> |
| void | executeParallelSparseOperation (const IndexRange &indices, Range &&range, UnaryProcedure operation) |
| | Execute an operation on each indexed element specified by a given range of indices, in up to getMaxParallelism() parallel chunks using this executor.
|
| template<typename IndexedProcedure> |
| void | executeIndexedOperation (size_t begin, size_t end, IndexedProcedure operation) |
| | Execute an operation for each index in a given interval, sequentially.
|
| template<typename IndexedProcedure> |
| void | executeParallelIndexedOperation (size_t begin, size_t end, IndexedProcedure operation) |
| | Execute an operation for each index in a given interval, in up to getMaxParallelism() parallel chunks using this executor.
|
| template<typename Procedure, typename FirstRange, typename... OtherRanges> |
| void | executeApplication (Procedure operation, FirstRange &&range, OtherRanges &&... ranges) |
| | Execute an operation for each row of elements in a given set of equally sized column ranges, sequentially.
|
| template<typename Procedure, typename FirstRange, typename... OtherRanges> |
| void | executeParallelApplication (Procedure operation, FirstRange &&range, OtherRanges &&... ranges) |
| | Execute an operation for each row of elements in a given set of equally sized column ranges, in up to getMaxParallelism() parallel chunks using this executor.
|
| template<typename IndexRange, typename Procedure, typename FirstRange, typename... OtherRanges> |
| void | executeSparseApplication (const IndexRange &indices, Procedure operation, FirstRange &&range, OtherRanges &&... ranges) |
| | Execute an operation for each indexed row of elements specified by a given range of indices in a given set of equally sized column ranges, sequentially.
|
| template<typename IndexRange, typename Procedure, typename FirstRange, typename... OtherRanges> |
| void | executeParallelSparseApplication (const IndexRange &indices, Procedure operation, FirstRange &&range, OtherRanges &&... ranges) |
| | Execute an operation for each indexed row of elements specified by a given range of indices in a given set of equally sized column ranges, in up to getMaxParallelism() parallel chunks using this executor.
|
| template<typename Range, typename RandomAccessIterator, typename UnaryMapping> |
| void | executeTransformation (const Range &range, RandomAccessIterator output, UnaryMapping transformationFunction) |
| | Transform each element in a given range, sequentially.
|
| template<typename Range, typename RandomAccessIterator, typename UnaryMapping> |
| void | executeParallelTransformation (const Range &range, RandomAccessIterator output, UnaryMapping transformationFunction) |
| | Transform each element in a given range, in up to getMaxParallelism() parallel chunks using this executor.
|
| template<typename IndexRange, typename Range, typename RandomAccessIterator, typename UnaryMapping> |
| void | executeSparseTransformation (const IndexRange &indices, const Range &range, RandomAccessIterator output, UnaryMapping transformationFunction) |
| | Transform each indexed element specified by a given range of indices, sequentially.
|
| template<typename IndexRange, typename Range, typename RandomAccessIterator, typename UnaryMapping> |
| void | executeParallelSparseTransformation (const IndexRange &indices, const Range &range, RandomAccessIterator output, UnaryMapping transformationFunction) |
| | Transform each indexed element specified by a given range of indices, in up to getMaxParallelism() parallel chunks using this executor.
|
| template<typename Range, typename InitialValue, typename AssociativeBinaryFunction> |
| InitialValue | executeReduction (const Range &range, const InitialValue &initialValue, AssociativeBinaryFunction reductionFunction) |
| | Perform a reduction over each element in a given range, sequentially.
|
| template<typename Range, typename InitialValue, typename AssociativeBinaryFunction> |
| InitialValue | executeParallelReduction (const Range &range, const InitialValue &initialValue, AssociativeBinaryFunction reductionFunction) |
| | Perform a reduction over each element in a given range, in up to getMaxParallelism() parallel chunks using this executor.
|
Basic Executor implementation that runs all tasks sequentially, directly on the caller's thread.
- See also
- DynamicExecutor