My Project
Public Member Functions | Protected Attributes | List of all members
basic_parallel Class Reference

Public Member Functions

 basic_parallel (Map &map, Allocate &alloc, Schedule &sched, volatile bool &exit_para)
 
virtual void start ()
 

Protected Attributes

kernelkeeper & source_kernels
 
kernelkeeper & all_kernels
 
Allocatealloc
 
Schedulesched
 
volatile bool & exit_para
 

Constructor & Destructor Documentation

basic_parallel::basic_parallel ( Map map,
Allocate alloc,
Schedule sched,
volatile bool &  exit_para 
)

nothing to do here, move along

Member Function Documentation

void basic_parallel::start ( )
virtual

since we have to have a lock on the ports for both BFS and duplication, we'll mark the kernels inside of BFS and duplicate outside of it.

start checking stats

input stats

apply criteria

FIXME, logic below only works for single input, single output..intended to get it working

clone

attach ports

connecting a.y -> b.x new_other_outprt == port y on a new_port_in == port x on b

connecting b.y -> c.x newoutport == port y on b new_other_inport == port x on c

schedule new kernel

Member Data Documentation

kernelkeeper& basic_parallel::source_kernels
protected

both convenience structs, hold exactly what the names say


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