Skip to content

Commit 9d7b3e8

Browse files
committed
global.h and device_ctx removed
1 parent 8fa97b1 commit 9d7b3e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vpr/src/route/rr_graph_uxsdcxx_serializer.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include "check_rr_graph.h"
1717
#include "rr_graph2.h"
1818
#include "rr_graph_indexed_data.h"
19-
#include "globals.h"
2019
class MetadataBind {
2120
public:
2221
MetadataBind(vtr::string_internment* strings, vtr::interned_string empty)
@@ -1547,7 +1546,6 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
15471546
}
15481547

15491548
void finish_load() final {
1550-
auto& device_ctx = g_vpr_ctx.mutable_device();
15511549
process_rr_node_indices();
15521550

15531551
rr_graph_builder_->init_fan_in();
@@ -1559,7 +1557,7 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
15591557
*/
15601558
std::vector<t_segment_inf> temp_rr_segs;
15611559
temp_rr_segs.reserve(segment_inf_.size());
1562-
for (auto& rr_seg : device_ctx.rr_segments) {
1560+
for (auto& rr_seg : segment_inf_) {
15631561
temp_rr_segs.push_back(rr_seg);
15641562
}
15651563

0 commit comments

Comments
 (0)