-
Notifications
You must be signed in to change notification settings - Fork 113
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
Test Merkle-tree padding for all device #668
Conversation
icicle/tests/test_hash_api.cpp
Outdated
|
||
const unsigned nof_leaves_in_hash = layer0_hash.default_input_chunk_size() / leaf_size; | ||
|
||
ICICLE_LOG_VERBOSE << "19 hashes (Total hashes in layer 0 - 1) - full"; |
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.
Can you remove the 19 here? the changes made in the tree above now yield 100 hashes in the lowest level instead of the previous 20.
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.
I refined the tests. Seems like there is a lot of redundancy
icicle/tests/test_hash_api.cpp
Outdated
|
||
const unsigned nof_leaves_in_hash = layer0_hash.default_input_chunk_size() / leaf_size; | ||
|
||
ICICLE_LOG_VERBOSE << "19 hashes (Total hashes in layer 0 - 1) - full"; |
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.
Same here - remove 19 and keep the text in the parenthesis.
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.
same
ad0b3a3
to
bcd56cf
Compare
bcd56cf
to
9de4831
Compare
Signed-off-by: Koren-Brand <koren@ingonyama.com>
Signed-off-by: Koren-Brand <koren@ingonyama.com>
Signed-off-by: Koren-Brand <koren@ingonyama.com>
Signed-off-by: Koren-Brand <koren@ingonyama.com>
…/icicle into yshekel/test_merkel_padding
Signed-off-by: Koren-Brand <koren@ingonyama.com> Co-authored-by: Koren-Brand <koren@ingonyama.com> Co-authored-by: emirsoyturk <emir@ingonyama.com>
cuda-backend-branch: emir/merkle-padding