oa::crypto::hash::merkle_root
Reduce any non-empty batch of 32-byte leaf hashes to one Merkle root. Duplicates the final node of each odd level, matching the OA CPU tree. Errors Rejects invalid shapes, dtypes, shader address limits, allocation or recording failures.
Function Documentation
Reduce any non-empty batch of 32-byte leaf hashes to one Merkle root. Duplicates the final node of each odd level, matching the OA CPU tree. Errors Rejects invalid shapes, dtypes, shader address limits, allocation or recording failures.