|
CUDPP 2.0
CUDA Data-Parallel Primitives Library
|
Container for all of the hash functions. More...
#include <hash_functions.h>
Public Member Functions | |
| void | Generate (const unsigned num_keys, const unsigned *d_keys, const unsigned table_size) |
| Generate new hash function constants. | |
Public Attributes | |
| uint2 | constants [N] |
| The constants required for all of the hash functions, including the stash. Each function requires 2. | |
Container for all of the hash functions.
| void CudaHT::CuckooHashing::Functions< N >::Generate | ( | const unsigned | num_keys, |
| const unsigned * | d_keys, | ||
| const unsigned | table_size | ||
| ) | [inline] |
Generate new hash function constants.
The parameters are only used for debugging and examining the key distribution.
| [in] | num_keys | Debug: Number of keys in the input. |
| [in] | d_keys | Debug: Device array of the input keys. |
| [in] | table_size | Debug: Size of the hash table. |
1.7.4