I get an error at runtime.
Looks like a dependency to CUB is needed? Or is it thrust?
cuda@ale-i5:~/Desktop/douggard$ ./a.out
INDICES_PER: 2
HASH_LEN: 50
CBIT_LEN: 20
Generating 1048576 hashes...
ERROR: invalid device function
Expanded size * 5: 314572800
Expanded size: 62914560
terminate called after throwing an instance of 'thrust::system::system_error'
what(): after cub_::DeviceRadixSort::SortPairs(0): invalid device function