Speculative parallelization on GPGPUs
Abstract
This paper overviews the first speculative parallelization technique for GPUs that can exploit parallelism in loops even in the presence of dynamic irregularities that may give rise to cross-iteration dependences. The execution of a speculatively parallelized loop consists of five phases: scheduling, computation, misspeculation check, result committing, and misspeculation recovery. We perform misspeculation check on the GPU to minimize its cost. We optimize the procedures of result committing and misspeculation recovery to reduce the result copying and recovery overhead. Finally, the scheduling policies are designed according to the types of cross-iteration dependences to reduce the misspeculation rate. Our preliminary evaluation was conducted on an nVidia Tesla C1060 hosted in an Intel(R) Xeon(R) E5540 machine. We use three benchmarks of which two contain irregular memory accesses and one contain irregular control flows that can give rise to cross-iteration dependences. Our implementation achieves 3.6x-13.8x speedups for loops in these benchmarks.
Related Papers
- → PExy: The Other Side of Exploit Kits(2014)24 cited
- → Copying Can Be Good(2019)5 cited
- → Is there a need to distinguish instrumental copying behavior from traditions?(2022)1 cited
- Importance and Application of Copying in Design Teaching(2012)
- → Research on the Chinese system of the transformation copying under the background of 3D printing(2020)