Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory alignment issues in hash computation (#338)
When hashing large keys, e.g., strings, we traverse the input key iteratively in chunks of 4/8 bytes. The current implementation of the `load_chunk` function falsely assumes that the start of the key is always aligned to the chunk size, which is not always the case (see [discussion](rapidsai/cudf#13612 (comment))). Additionally, this PR fixes some uncaught `[-Wmaybe-uninitialized]` warnings when compiling the unit tests.
- Loading branch information