You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[derive(Clone,Debug)]pubstructMerkleTree<F:RichField,H:Hasher<F>>{/// The data in the leaves of the Merkle tree.publeaves:Vec<Vec<F>>,/// The digests in the tree. Consists of `cap.len()` sub-trees, each corresponding to one/// element in `cap`. Each subtree is contiguous and located at/// `digests[digests.len() / cap.len() * i..digests.len() / cap.len() * (i + 1)]`./// Within each subtree, siblings are stored next to each other. The layout is,/// left_child_subtree || left_child_digest || right_child_digest || right_child_subtree, where/// left_child_digest and right_child_digest are H::Hash and left_child_subtree and/// right_child_subtree recurse. Observe that the digest of a node is stored by its _parent_./// Consequently, the digests of the roots are not stored here (they can be found in `cap`).pubdigests:Vec<H::Hash>,/// The Merkle cap.pubcap:MerkleCap<F,H>,pubmy_leaf_len:usize,pubmy_leaves:Arc<Vec<F>>,pubmy_leaves_len:usize,pubmy_leaves_dev_offset:isize,pubmy_digests:Arc<Vec<H::Hash>>,}
Here in CUDA optimised version I see leaves and digests are not used instead my_leaves and my_digests are used.
Is this part of optimising the results or its required for correct results?
The text was updated successfully, but these errors were encountered:
I see following modification in code
Here in CUDA optimised version I see leaves and digests are not used instead my_leaves and my_digests are used.
Is this part of optimising the results or its required for correct results?
The text was updated successfully, but these errors were encountered: