diff options
author | Martin Braun <martin.braun@ettus.com> | 2022-04-06 21:34:20 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-04-07 10:51:26 -0700 |
commit | 204c37faee0b55ec2f0e21899ebabbcdeb1f4440 (patch) | |
tree | bcb860dc141c19efa5a8c0b9c1dc109d935a9974 /host/lib/include/uhdlib/rfnoc/graph.hpp | |
parent | b3a9c7849fa249653643d01c5d5f127feb92152b (diff) | |
download | uhd-204c37faee0b55ec2f0e21899ebabbcdeb1f4440.tar.gz uhd-204c37faee0b55ec2f0e21899ebabbcdeb1f4440.tar.bz2 uhd-204c37faee0b55ec2f0e21899ebabbcdeb1f4440.zip |
rfnoc: graph: Allow property forwarding on back-edges
The internal helper function graph_t::_forward_edge_props() receives
another argument, which decides if properties are forwarded on forward-
or back-edges. Previously, only forward-edges were possible.
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc/graph.hpp')
-rw-r--r-- | host/lib/include/uhdlib/rfnoc/graph.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/graph.hpp b/host/lib/include/uhdlib/rfnoc/graph.hpp index 73f983d41..9667f4817 100644 --- a/host/lib/include/uhdlib/rfnoc/graph.hpp +++ b/host/lib/include/uhdlib/rfnoc/graph.hpp @@ -263,8 +263,9 @@ private: /*! Forward all edge properties from this node (\p origin) to the * neighbouring ones * + * \param forward true for forward edges, false for back-edges */ - void _forward_edge_props(rfnoc_graph_t::vertex_descriptor origin); + void _forward_edge_props(rfnoc_graph_t::vertex_descriptor origin, const bool forward); /*! Check that the edge properties on both sides of the edge are equal * |