From 204c37faee0b55ec2f0e21899ebabbcdeb1f4440 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 6 Apr 2022 21:34:20 +0200 Subject: 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. --- host/lib/include/uhdlib/rfnoc/graph.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/include') 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 * -- cgit v1.2.3