Hacker News new | ask | show | jobs
by sprash 2296 days ago
A 32-bit key and 32-bit value are some serious constraints. The whole point of hash tables is usually that you have variable length keys or values.

If you have more than 32GB of RAM (which is not rare nowadays) you can directly map all 32-bit values into a 32GB chunk of memory and be probably faster than this GPU solution on regular CPUs.

1 comments

Even so, GPU-based hash tables are useful in that they can be used to speed up various kinds of simulations for video games and animation:

https://wickedengine.net/2018/05/21/scalabe-gpu-fluid-simula...

https://developer.nvidia.com/gpugems/gpugems3/part-i-geometr...