11 #include "hashing_util.h"
18 #define MAX_ITERATIONS 1024
20 #ifdef TEST_UTILIZATION
27 static uint64_t chain_cnt[MAX_ITERATIONS];
28 void print_chain_cnt();
61 #ifndef TEST_UTILIZATION
66 cuckoo_hashing(uint8_t* elements, uint32_t neles, uint32_t nbins, uint32_t bitlen, uint32_t *outbitlen, uint32_t* nelesinbin,
67 uint32_t* perm, uint32_t ntasks, uint8_t** stash_elements, uint32_t maxstashsize, uint32_t** stashperm, uint32_t nhashfuns,
70 void *gen_cuckoo_entries(
void *ctx);
73 inline uint32_t compute_stash_size(uint32_t nbins, uint32_t neles);
Definition: hashing_util.h:23