We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/Efficient Algorithms for Stream Compaction on GPUs
PeriodicalsComputer Science & Information Technology

Efficient Algorithms for Stream Compaction on GPUs

Checking your access to this record.

Abstract & Overview

Stream compaction, also known as stream filtering or selection, produces a smaller output array which contains the indices of the only wanted elements from the input array for further processing. With the tremendous amount of data elements to be filtered, the performance of selection is of great concern. Recently, modern Graphics Processing Units (GPUs) have been increasingly used to accelerate the execution of massively large, data parallel applications. In this paper, we designed and implemented two new algorithms for stream compaction on GPU. The first algorithm, which can preserve the relative order of the input elements, uses a multi-level prefix-sum approach. The second algorithm, which is non-order-preserving, is based the hybrid use of the prefix-sum and the atomics approaches. We compared their performance with other parallel selection algorithms on the current generation of NVIDIA GPUs. The experimental results show that both algorithms run faster than Thrust, an open-source parallel algorithms library. Furthermore, the hybrid method performs the best among all existing selection algorithms on GPU and can be two orders of magnitude faster than the sequential selection on CPU, especially when the data size is large.

Cite this record

Darius Bakunas-Milanowski, Vernon J. Rego, Janche Sang, Chansu Yu (2017). Efficient Algorithms for Stream Compaction on GPUs. International Journal of Networking and Computing, 7(2), 208–226. https://doi.org/10.15803/ijnc.7.2_208

Copy in another style

Bakunas-Milanowski, D., Rego, V. J., Sang, J., & Yu, C. (2017). Efficient Algorithms for Stream Compaction on GPUs. International Journal of Networking and Computing, 7(2), 208–226. https://doi.org/10.15803/ijnc.7.2_208
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.