|
docc 0.8.3 (0d44999b)
C++ API Reference
|
Base class for computational nodes in the dataflow graph. More...
#include "sdfg/data_flow/data_flow_node.h"#include "sdfg/graph/graph.h"#include "sdfg/types/scalar.h"Go to the source code of this file.
Classes | |
| class | sdfg::data_flow::CodeNode |
| Base class for computational nodes with inputs and outputs. More... | |
Namespaces | |
| namespace | sdfg |
| namespace | sdfg::builder |
| namespace | sdfg::data_flow |
Base class for computational nodes in the dataflow graph.
Code nodes represent computational operations in the SDFG dataflow graph. They are abstract nodes that have inputs and outputs connected via memlets. Code nodes include tasklets (simple operations) and library nodes (complex operations).
A CodeNode is the base class for all computational nodes. It defines:
Connectors are named strings that identify specific inputs and outputs. For example, a binary operation might have inputs "_in1" and "_in2" and output "_out". Memlets connect access nodes to these connectors.
Creating a code node (via Tasklet):
Accessing inputs and outputs: