-
Notifications
You must be signed in to change notification settings - Fork 73
feat: flat hash page read #59
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
Conversation
jonathanpwang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall setup looks right. Left some comments to be addressed, which I think was mostly because you were still ramping up on some AIR stuff back then.
It would be better if this AIR could handle pages that had height not a power of 2 (not fully allocated), but I think we can address that later.
You will likely want to update this and repurpose it for INT-1681 soon anyways, so we can leave future improvements for that ticket.
…lic imports etc. need fixes
2e1c17f to
2580e44
Compare
|
Test is failing |
|
@cocohearts you can rebase and use #137 to debug |
|
just fixed, sorry missed this |
* dummy hash * chore: fixed dummy hash * chore: clean up dummy-hash * removing generics for sizing * feat: receive, sends, request() * basic structure completed, debugging * refactor complete, debugging NonZeroCumulativeSum * fixed hashchip receive, added one each positive and negative test * chore: subchip initialization/trace generation * changed to using the hash_chip of flathashchip * chore: rename DummyHashChip to DummyHashAir * feat: requests to dummyhashchip, positive test case works * cleaned positive test, added negative test * feat: receive for flathash * feat: negative test spoofs every element in flathash trace * chore: clean code * feat: multiplicity for hashchip to support arbitrarily many hash receives * chore: update test * chore: code cleanup * chore: code cleanup * feat: fixed tests * docs(FlatHashAir) * chore: replaces pis/request with DummyHashAir::hash(), clean code * feat: arbitrary page height (padding to power of 2) --------- Co-authored-by: Alex Zhao <[email protected]>
Spec: https://docs.google.com/document/d/1Y9_oTyuGqJTw3Wa7MWDBlaqxUsCsVD1cED4z_b1pjkU/edit#heading=h.gmb22k5m4h56