dispenso
A library for task parallelism
 
Loading...
Searching...
No Matches
dispenso::ParallelForExecutor Class Reference

#include <graph_executor.h>

Inherits detail::ExecutorBase.

Public Member Functions

template<typename TaskSetT , typename G >
void operator() (TaskSetT &taskSet, const G &graph)
 

Detailed Description

Class to invoke Graph or BiPropGraph using dispenso::parallel_for for every layer of the graph.

Definition at line 37 of file graph_executor.h.

Member Function Documentation

◆ operator()()

template<typename TaskSetT , typename G >
template DISPENSO_DLL_ACCESS void dispenso::ParallelForExecutor::operator() ( TaskSetT taskSet,
const G graph 
)

Invoke the graph. This is not concurrency safe.

Parameters
taskSettaksSet to use with parallel_for.
graphgraph to invoke

Definition at line 41 of file graph_executor.cpp.


The documentation for this class was generated from the following files: