26891

Modeling GPU Dynamic Parallelism for Self Similar Density Workloads

Felipe A. Quezada, Cristóbal A. Navarro, Miguel Romero, Cristhian Aguilera
Instituto de Informática, Universidad Austral de Chile
arXiv:2206.02255 [cs.DC], (5 Jun 2022)

@misc{https://doi.org/10.48550/arxiv.2206.02255,

   doi={10.48550/ARXIV.2206.02255},

   url={https://arxiv.org/abs/2206.02255},

   author={Quezada, Felipe A. and Navarro, Cristóbal A. and Romero, Miguel and Aguilera, Cristhian},

   keywords={Distributed, Parallel, and Cluster Computing (cs.DC), Performance (cs.PF), FOS: Computer and information sciences, FOS: Computer and information sciences},

   title={Modeling GPU Dynamic Parallelism for Self Similar Density Workloads},

   publisher={arXiv},

   year={2022},

   copyright={arXiv.org perpetual, non-exclusive license}

}

Download Download (PDF)   View View   Source Source   

763

views

Dynamic Parallelism (DP) is a runtime feature of the GPU programming model that allows GPU threads to execute additional GPU kernels, recursively. Apart from making the programming of parallel hierarchical patterns easier, DP can also speedup problems that exhibit a heterogeneous data layout by focusing, through a subdivision process, the finite GPU resources on the sub-regions that exhibit more parallelism. However, doing an optimal subdivision process is not trivial, as there are different parameters that play an important role in the final performance of DP. Moreover, the current programming abstraction for DP also introduces an overhead that can penalize the final performance. In this work we present a subdivision cost model for problems that exhibit self similar density (SSD) workloads (such as fractals), in order understand what parameters provide the fastest subdivision approach. Also, we introduce a new subdivision implementation, named Adaptive Serial Kernels (ASK), as a smaller overhead alternative to CUDA’s Dynamic Parallelism. Using the cost model on the Mandelbrot Set as a case study shows that the optimal scheme is to start with an initial subdivision between g=[2,16], then keep subdividing in regions of r=2,4, and stop when regions reach a size of B~32. The experimental results agree with the theoretical parameters, confirming the usability of the cost model. In terms of performance, the proposed ASK approach runs up to ~60% faster than Dynamic Parallelism in the Mandelbrot set, and up to 12x faster than a basic exhaustive implementation, whereas DP is up to 7.5x.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: