Arm backend: Make stage ids unique in the Arm TestPipeline (#8338)
Some stages in the TestPipeline may be added multiple times, such as .check(). To be able to target these by id, give them an unique suffix -> 'id.suffix' Refering to stages in terms of id instead of an index is more self documenting and future proof. This change modifies the add/pop_stage interface: - pos arg in add_stage is now an optional kwarg, appending to the pipline as default - suffix is added to add_stage as an optional_kwarg. If a suffix is not given to a non unique stage, a number is added instead. - pop_stage now allows to use ids for referring to stages. Additionally adds .visualize(stage) for quickly adding visualizing stages to the pipeline.
A
Adrian Lundell committed
93c3b6652bb338aca42011d6e9e2996f7ae7ccef
Parent: 8d96d74
Committed by GitHub <noreply@github.com>
on 2/11/2025, 8:52:20 AM