Bandwidth-optimal random shuffling for GPUs
| dc.contributor.author | Mitchell, Rory | en_NZ |
| dc.contributor.author | Stokes, Daniel | en_NZ |
| dc.contributor.author | Frank, Eibe | en_NZ |
| dc.contributor.author | Holmes, Geoffrey | en_NZ |
| dc.date.accessioned | 2024-01-17T02:53:12Z | |
| dc.date.available | 2024-01-17T02:53:12Z | |
| dc.date.issued | 2022 | en_NZ |
| dc.description.abstract | Linear-time algorithms that are traditionally used to shuffle data on CPUs, such as the method of Fisher-Yates, are not well suited to implementation on GPUs due to inherent sequential dependencies, and existing parallel shuffling algorithms are unsuitable for GPU architectures because they incur a large number of read/write operations to high latency global memory. To address this, we provide a method of generating pseudo-random permutations in parallel by fusing suitable pseudo-random bijective functions with stream compaction operations. Our algorithm, termed “bijective shuffle” trades increased per-thread arithmetic operations for reduced global memory transactions. It is work-efficient, deterministic, and only requires a single global memory read and write per shuffle input, thus maximising use of global memory bandwidth. To empirically demonstrate the correctness of the algorithm, we develop a statistical test for the quality of pseudo-random permutations based on kernel space embeddings. Experimental results show that the bijective shuffle algorithm outperforms competing algorithms on GPUs, showing improvements of between one and two orders of magnitude and approaching peak device bandwidth. | en_NZ |
| dc.format.mimetype | application/pdf | |
| dc.identifier.doi | 10.1145/3505287 | en_NZ |
| dc.identifier.issn | 2329-4949 | en_NZ |
| dc.identifier.uri | https://hdl.handle.net/10289/16345 | |
| dc.language.iso | en | |
| dc.publisher | Association for Computing Machinery (ACM) | en_NZ |
| dc.relation.isPartOf | ACM Transactions on Parallel Computing | en_NZ |
| dc.rights | This is an author’s accepted version of an article published in ACM Transactions on Parallel Computing. © 2022 ACM. | |
| dc.subject | computer science | en_NZ |
| dc.subject | shuffling | en_NZ |
| dc.subject | GPU | en_NZ |
| dc.title | Bandwidth-optimal random shuffling for GPUs | en_NZ |
| dc.type | Journal Article | |
| dspace.entity.type | Publication | |
| pubs.issue | 1 | en_NZ |
| pubs.volume | 9 | en_NZ |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Bandwidth_Optimal_Random_Shuffling_for_GPUs.pdf
- Size:
- 5.09 MB
- Format:
- Adobe Portable Document Format
- Description:
- Accepted version
License bundle
1 - 1 of 1
Loading...
- Name:
- Research Commons Deposit Agreement 2017.pdf
- Size:
- 188.11 KB
- Format:
- Adobe Portable Document Format
- Description: