|
docc 0.8.3 (0d44999b)
C++ API Reference
|
Simple computational operations in the dataflow graph. More...
#include "sdfg/data_flow/code_node.h"#include "sdfg/exceptions.h"#include "sdfg/graph/graph.h"#include "sdfg/symbolic/symbolic.h"Go to the source code of this file.
Classes | |
| class | sdfg::data_flow::Tasklet |
| Simple computational operation in the dataflow graph. More... | |
Namespaces | |
| namespace | sdfg |
| namespace | sdfg::builder |
| namespace | sdfg::data_flow |
Functions | |
| constexpr size_t | sdfg::data_flow::arity (TaskletCode c) |
| Get the number of inputs for a tasklet operation. | |
| constexpr bool | sdfg::data_flow::is_unsigned (TaskletCode c) |
| Check if a tasklet operation is unsigned. | |
| constexpr bool | sdfg::data_flow::is_integer (TaskletCode c) |
| Check if a tasklet operation is an integer operation. | |
| constexpr bool | sdfg::data_flow::is_floating_point (TaskletCode c) |
| Check if a tasklet operation is a floating-point operation. | |
Simple computational operations in the dataflow graph.
Tasklets represent primitive computational operations like arithmetic, logic, and type conversions. They are the fundamental building blocks for computation in the SDFG dataflow graph.
Tasklets support various operation types:
The assign operation can represent type conversions when input and output types differ:
Each operation has:
Creating a simple addition tasklet:
Creating an assignment/conversion:
Querying tasklet properties: