STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
Classes | Modules | Functions
Spawning Environments

Environments define the representation of nodes and edges in the dataflow graphs generated from skeletons. More...

+ Collaboration diagram for Spawning Environments:

Classes

class  stapl::skeletons::combined_env< Envs >
 A combined_env is a collection of different environments. When a skeleton is spawned in a combined_env, the spawn_element or set_num_succs requests are passed down to each environment. More...
 
class  stapl::skeletons::debug_env
 This environment can be used to print the information about the generated task graph on the screen using std::cout. More...
 
class  stapl::skeletons::empty_env
 An empty_env is a dummy environment which ignores all the requests sent to it. More...
 
class  stapl::skeletons::graphviz_env
 debug environment can be used along with an output stream such as std::cout in order to dump a GraphViz representation of the dependence graph in an output stream. Remember, in the cases that a dynamic (conditional ) dependence graphs such as do_while is used, you have to use this along with a real execution environment such as taskgraph_env More...
 
class  stapl::skeletons::local_env
 This environment tries to behave as a taskgraph_env on a single location. In other words, it runs the workfunctions instead of creating tasks, and stores the values produced by tasks and keeps them as long as they are needed (num_succs is not 0). You should consider this environment as the sequential version of the taskgraph_env. More...
 
class  stapl::skeletons::taskgraph_env< TGV >
 The main environment for spawning skeletons in STAPL and evaluating them as taskgraphs is taskgraph_env. It gets the workfunction, unwraps the inputs which are given as producer_info (indexed_producer, view_element_producer, etc.) and calls add_task or set_num_succs from the given PARAGRAPH via the given taskgraph view (TGV) More...
 

Modules

 Spawning Environments Internal
 

Functions

template<typename... Envs>
combined_env< Envs... > stapl::skeletons::make_combined_env (Envs... envs)
 A helper to created combined environments. Combined environments are used to spawn skeletons in various environments at the same time (e.g., a taskgraph_env and a graphviz_env at the same time).
 

Detailed Description

Environments define the representation of nodes and edges in the dataflow graphs generated from skeletons.

The default case of the environment is a taskgraph_env in which nodes and edges (dataflow graph) are evaluated as PARAGRAPHs.

Other supported environments are graphviz_env (a GraphViz environment), local_env (which implements a sequential data flow machine), and combined_env which puts several environments together.