Skip to content

Commit

Permalink
Clang format pass
Browse files Browse the repository at this point in the history
  • Loading branch information
kstppd committed May 30, 2024
1 parent 550be65 commit 5ecd282
Show file tree
Hide file tree
Showing 5 changed files with 248 additions and 250 deletions.
6 changes: 4 additions & 2 deletions include/hashinator/hashers.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,12 @@ class Hasher {
}

// Reset wrapper for all elements
static void reset_all(hash_pair<KEY_TYPE, VAL_TYPE>* dst, Hashinator::Info* info,size_t len, split_gpuStream_t s = 0) {
static void reset_all(hash_pair<KEY_TYPE, VAL_TYPE>* dst, Hashinator::Info* info, size_t len,
split_gpuStream_t s = 0) {
size_t blocksNeeded = len / defaults::MAX_BLOCKSIZE;
blocksNeeded = blocksNeeded + (blocksNeeded == 0);
reset_all_to_empty<KEY_TYPE, VAL_TYPE, EMPTYBUCKET><<<blocksNeeded, defaults::MAX_BLOCKSIZE, 0, s>>>(dst,info, len);
reset_all_to_empty<KEY_TYPE, VAL_TYPE, EMPTYBUCKET>
<<<blocksNeeded, defaults::MAX_BLOCKSIZE, 0, s>>>(dst, info, len);
SPLIT_CHECK_ERR(split_gpuStreamSynchronize(s));
}

Expand Down
Loading

0 comments on commit 5ecd282

Please sign in to comment.