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

[hardware] Fix hanging integer reductions #342

Merged
merged 2 commits into from
Aug 15, 2024
Merged

[hardware] Fix hanging integer reductions #342

merged 2 commits into from
Aug 15, 2024

Conversation

mp-17
Copy link
Collaborator

@mp-17 mp-17 commented Aug 12, 2024

If the result queue is not empty and we start a reduction, the state of the ALU goes to INTRA_LANE_REDUCTION. Here, the VRF write-back of the previous instruction does not happen. Moreover, the INTRA_LANE_REDUCTION needs the result queue for its own purposes.

Changelog

Fixed

  • Start integer reductions only if the result queue is empty

Checklist

  • Automated tests pass
  • Changelog updated
  • Code style guideline is observed

If the result queue is not empty and we start a reduction, the state
of the ALU goes to INTRA_LANE_REDUCTION. Here, the VRF write back of
the previous instruction does not happen. Moreover, the
INTRA_LANE_REDUCTION needs the result queue for its own purposes.
@mp-17 mp-17 merged commit 5b0af4d into main Aug 15, 2024
17 checks passed
@mp-17 mp-17 deleted the fix/reductions branch August 15, 2024 15:34
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.

1 participant