Skip to content
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

Fix conv FSM freeze #69

Merged
merged 34 commits into from
Mar 10, 2021
Merged

Fix conv FSM freeze #69

merged 34 commits into from
Mar 10, 2021

Conversation

hngenc
Copy link
Member

@hngenc hngenc commented Feb 22, 2021

Made these changes to fix conv FSM:

  • Fix a_stride updates in ROB
  • Make the ROB's block_mvin raw checks less cautious
  • Stop GARBAGE_ADDRs from being considered as hazards in ROB
  • Fix a typo in LoopConv/LdInput

Made these changes to improve performance:

  • Replaced downsampling layers with a series of strided matmuls
  • Improved conv tiling factor selection
  • Added block-mvout for resadds
  • Add config options for the ExecuteController to only read data from the spad, and only write data to the accumulator. This eliminates RAW-hazard checking delays in the ExecuteController.

Performance:

  • ResNet50: 153709356 cycles (40% utilization)

@hngenc hngenc changed the title [WIP] Fix conv FSM freeze Fix conv FSM freeze Mar 10, 2021
@hngenc hngenc merged commit a7b0d8c into dev Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant