This environment can be used to print the information about the generated task graph on the screen using std::cout. More...
Public Member Functions | |
template<bool isResult, typename WF , typename Mapper , typename... In> | |
void | spawn_element (std::size_t tid, std::size_t result_id, WF &&wf, Mapper &&mapper, std::size_t num_succs, In &&... in) const |
Prints out the spawned node on the screen along with its corresponding dependencies information using std::cout. More... | |
template<bool isResult, typename WF , typename Mapper , typename... In> | |
void | spawn_element (std::size_t tid, std::size_t result_id, std::vector< std::size_t > const ¬ifications, WF &&wf, Mapper &&, std::size_t num_succs, In &&... in) const |
template<typename Skeleton , typename Coord , typename In , typename Out > | |
void | pre_spawn (Skeleton &&skeleton, std::size_t lid_offset, Coord &&skeleton_size, Coord &&coord, In &&in, Out &&out, std::size_t cur_stage=0) const |
template<typename Skeleton , typename... Args> | |
void | post_spawn (Skeleton &&skeleton, Args &&... args) const |
void | set_num_succs (std::size_t tid, std::size_t num_succs) const |
void | init_location_info (std::size_t num_PEs, runtime::location_id PE_id) |
std::size_t | get_num_PEs () const |
runtime::location_id | get_PE_id () const |
This environment can be used to print the information about the generated task graph on the screen using std::cout.
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
void stapl::skeletons::debug_env::spawn_element | ( | std::size_t | tid, |
std::size_t | result_id, | ||
WF && | wf, | ||
Mapper && | mapper, | ||
std::size_t | num_succs, | ||
In &&... | in | ||
) | const |
Prints out the spawned node on the screen along with its corresponding dependencies information using std::cout.
tid | the unique id assigned to the node in the graph |
result_id | result_id of this task if it has one. |
wf | the workfunction to be executed for this node |
mapper | the output to output mapper for mapping the results |
num_succs | the exact number of successors for this element. Remember that in some cases this value is set to stapl::defer_specs (when the spawner is in SET_HOLD mode). This number is shown in parenthesis in the output graph. |
in | the producer information for the node's input arguments that will be translated as edge in the output graph |