CUDPP
2.3
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. More... | |
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.
|
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. |