Skip to content

Connection box map WIP branch #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 41 commits into from
Closed

Conversation

acomodi
Copy link
Collaborator

@acomodi acomodi commented Sep 14, 2020

This is the new connection box lookahead map wip/ branch that has been rebased against master.

Given that there is conflicting code with the extended map, and the fact that the connection boxes made it non-trivial to adapt the code for this wip branch, I have opted to keep all the connection box code as contained as possible, which results in a slight code duplication regarding the two extended map and conection box map lookaheads methods.

This branch has been added to #545

@litghost
Copy link

@acomodi Can you cherry pick the following commits onto wip/lookahead_sampling2:

  1. litghost@6f9ef7e
  2. litghost@0f1dfdd
  3. litghost@50940f3
  4. litghost@83f6e40

int num_switches = 0;
short buffered = UNDEFINED;
calculate_average_switch(inode, avg_switch_R, avg_switch_T, avg_switch_Cinternal, num_switches, buffered);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, by not calling calculate_average_switch we are masking an assertion failure that occurs on upstream VTR. I'm fine with this so we can merge a new master+wip for now, just mentioning it again.

@acomodi acomodi force-pushed the wip/connection_box_lookahead_map branch 2 times, most recently from ac20300 to 1539484 Compare September 15, 2020 11:23
acomodi and others added 16 commits September 15, 2020 14:13
Signed-off-by: Alessandro Comodi <[email protected]>
 - New sampling method for connection box lookahead map.
 - New spiral hole filling algorithm
 - Use a lightweight version of PQ_Entry (PQ_Entry_Lite)
 - Use maps in run_dijkstra()
 - Move context of router_lookahead_map_utils inside of util namespace.

Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Keith Rothman <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
HackerFoo and others added 25 commits September 15, 2020 14:13
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Expand base_cost too.

The delay and base cost matricies are independent, so should be expanded
and filled independently.

Signed-off-by: Keith Rothman <[email protected]>
Signed-off-by: Dusty DeWeese <[email protected]>
Signed-off-by: Dustin DeWeese <[email protected]>
Signed-off-by: Dustin DeWeese <[email protected]>
 - addressed review comments

Signed-off-by: Alessandro Comodi <[email protected]>
Before on the A200T:
> Computing connection box lookahead map took 31769.29 seconds (max_rss 45671.6 MiB, delta_rss +14486.3 MiB)

After on the A200T:
> Computing connection box lookahead map took 16791.79 seconds (max_rss 40113.6 MiB, delta_rss +8895.9 MiB)

Signed-off-by: Keith Rothman <[email protected]>
Signed-off-by: Keith Rothman <[email protected]>
Signed-off-by: Alessandro Comodi <[email protected]>
Signed-off-by: Alessandro Comodi <[email protected]>
@acomodi acomodi force-pushed the wip/connection_box_lookahead_map branch from 1539484 to 932fda8 Compare September 15, 2020 12:14
@litghost litghost closed this Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants