Building an Efficient Hash Table on the GPU

作者: Dan A Alcantara , Vasily Volkov , Shubhabrata Sengupta , Michael Mitzenmacher , John D Owens

DOI: 10.1016/B978-0-12-385963-1.00004-6

关键词:

摘要: Publisher Summary This chapter describes a straightforward algorithm for parallel hash table construction on the graphical processing unit (GPU). It constructs in global memory and use atomic operations to detect resolve collisions. Construction retrieval performance are limited almost entirely by time required these uncoalesced accesses, which linear total number of accesses; so design goal is minimize average accesses per insertion or lookup. In fact, it guarantees constant worst-case bound Further, one alternative using store data sorted array access via binary search. Sorted arrays can be built very quickly radix sort because pattern localized, allowing GPU coalesce many reduce their cost significantly. However, search, incurs as lg ( N) probes worst case, much less efficient than tables useful interactive graphics applications, where they used sparse spatial data—usually 3D models that voxelized uniform grid. Rather entire voxel grid, mostly empty, hold just occupied voxels.

参考文章(6)
Martin Dietzfelbinger, Andreas Goerdt, Michael Mitzenmacher, Andrea Montanari, Rasmus Pagh, Michael Rink, Tight Thresholds for Cuckoo Hashing via XORSAT Automata, Languages and Programming. pp. 213- 225 ,(2010) , 10.1007/978-3-642-14165-2_19
Salil Vadhan, Michael Mitzenmacher, Why simple hash functions work: exploiting the entropy in a data stream symposium on discrete algorithms. pp. 746- 755 ,(2008)
Duane G. Merrill, Andrew S. Grimshaw, Revisiting sorting for GPGPU stream architectures international conference on parallel architectures and compilation techniques. pp. 545- 546 ,(2010) , 10.1145/1854273.1854344
Dan A Alcantara, Andrei Sharf, Fatemeh Abbasinejad, Shubhabrata Sengupta, Michael Mitzenmacher, John D Owens, Nina Amenta, None, Real-time parallel hashing on the GPU international conference on computer graphics and interactive techniques. ,vol. 28, pp. 154- ,(2009) , 10.1145/1618452.1618500
Sylvain Lefebvre, Hugues Hoppe, Perfect spatial hashing international conference on computer graphics and interactive techniques. ,vol. 25, pp. 579- 588 ,(2006) , 10.1145/1141911.1141926
Rasmus Pagh, Flemming Friche Rodler, Cuckoo Hashing european symposium on algorithms. pp. 121- 133 ,(2001)