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
I'm not the author of this code, but I can give some comments. In my understanding, this is a variant of the linear probing method for hash. Line 117 is used to probe different hash addresses. Since the author assumes that the capacity is a power of 2, "& (capacity - 1)" is equivalent to "% capacity". I don't think the step 0 will run twice, it should probe a different address when the loop continue.
Describe the bug
in gpu_cache/src/static_hash_table.cu, line 117, why slot accumulate again? it seems like slot already in next group before line 117
To Reproduce
Expected behavior
Screenshots
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: