Commit e471ca13 by Marcus Winter

examples: changed dataflow example to show usage of Network::Make

parent 0e87c034
......@@ -57,5 +57,6 @@ void RunDataflowLinear() {
#include "dataflow/dataflow_declare_sink-snippet.h"
#include "dataflow/dataflow_connect-snippet.h"
#include "dataflow/dataflow_add-snippet.h"
#include "dataflow/dataflow_make-snippet.h"
#include "dataflow/dataflow_run-snippet.h"
}
typedef embb::dataflow::Network<2> Network;
typedef embb::dataflow::Network Network;
static Network nw;
......@@ -83,5 +83,6 @@ void RunDataflowNonLinear() {
process5.GetOutput<1>() >> sink1.GetInput<2>();
process4.GetOutput<1>() >> sink1.GetInput<3>();
nw.Make(2);
nw();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment