Real-time Parallel Hashing on the GPU
Dan A. Alcantara, Andrei Sharf, Fatemeh Abbasinejad, Shubhabrata Sengupta, Michael Mitzenmacher, John D. Owens, Nina Amenta
In ACM Transactions on Graphics, 28(5), December 2009.
Abstract: We demonstrate an efficient data-parallel algorithm for building large hash tables of millions of elements in real-time. We consider two parallel algorithms for the construction: a classical sparse perfect hashing approach, and cuckoo hashing, which packs elements densely by allowing an element to be stored in one of multiple possible locations. Our construction is a hybrid approach that uses both algorithms. We measure the construction time, access time, and memory usage of our implementations and demonstrate real-time performance on large datasets: for 5 million key-value pairs, we construct a hash table in 35.7 ms using 1.42 times as much memory as the input data itself, and we can access all the elements in that hash table in 15.3 ms. For comparison, sorting the same data requires 36.6 ms, but accessing all the elements via binary search requires 79.5 ms. Furthermore, we show how our hashing methods can be applied to two graphics applications: 3D surface intersection for moving data and geometric hashing for image matching.
Keyword(s): GPU computing, cuckoo hashing, hash tables, parallel data structures, parallel hash tables
Article URL: http://doi.acm.org/10.1145/1618452.1618500
BibTeX format:
@article{Alcantara:2009:RPH,
  author = {Dan A. Alcantara and Andrei Sharf and Fatemeh Abbasinejad and Shubhabrata Sengupta and Michael Mitzenmacher and John D. Owens and Nina Amenta},
  title = {Real-time Parallel Hashing on the GPU},
  journal = {ACM Transactions on Graphics},
  volume = {28},
  number = {5},
  pages = {154:1--154:9},
  month = dec,
  year = {2009},
}
Search for more articles by Dan A. Alcantara.
Search for more articles by Andrei Sharf.
Search for more articles by Fatemeh Abbasinejad.
Search for more articles by Shubhabrata Sengupta.
Search for more articles by Michael Mitzenmacher.
Search for more articles by John D. Owens.
Search for more articles by Nina Amenta.

Return to the search page.


graphbib: Powered by "bibsql" and "SQLite3."