Efficient GPU Thread Mapping on Embedded 2D Fractals

04/25/2020
by   Cristóbal A. Navarro, et al.
0

This work proposes a new approach for mapping GPU threads onto a family of discrete embedded 2D fractals. A block-space map λ: Z_E^2Z_F^2 is proposed, from Euclidean parallel space E to embedded fractal space F, that maps in O(log_2 log_2(n)) time and uses no more than O(n^H) threads with H being the Hausdorff dimension of the fractal, making it parallel space efficient. When compared to a bounding-box (BB) approach, λ(ω) offers a sub-exponential improvement in parallel space and a monotonically increasing speedup n > n_0. The Sierpinski gasket fractal is used as a particular case study and the experimental performance results show that λ(ω) reaches up to 9× of speedup over the bounding-box approach. A tensor-core based implementation of λ(ω) is also proposed for modern GPUs, providing up to ∼40% of extra performance. The results obtained in this work show that doing efficient GPU thread mapping on fractal domains can significantly improve the performance of several applications that work with this type of geometry.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset