arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1606.08881cs.DC
收藏

离散四面体域块空间GPU方法的潜在益处

Potential benefits of a block-space GPU approach for discrete tetrahedral domains

Cristóbal A. Navarro, Benjamín Bustos, Nancy Hitschfeld

摘要:

数据并行域重组和线程映射技术的研究是相关的主题,因为它们可以提高GPU计算的效率时,工作在空间离散域与非盒形几何。在这项工作中,我们研究了应用一个简洁的数据重组的四面体数据并行域的大小$\mathcal{O}(n^3)$结合一个有效的块空间GPU地图的形式$g:\mathbb{N} \rightarrow \mathbb{N}^3$的潜在好处。分析结果表明,理论上,这两种优化的组合产生显著的性能改进,因为基于块的数据重新组织允许在本地线程空间处合并一对一的对应关系,而$g(λ)$在数据组和线程组之间产生有效的块空间对应关系,减少从$O(n^3)$到$O(n^2ρ^3)$的不必要线程的数量,其中$ρ$是线性块大小,并且通常是$ρ^3 \ll n$。从分析中,我们得到,基于块的简洁的数据重组可以提供高达$2\times$的线性数据组织的改进的性能,而地图可以高达$6\times$比边界框的方法更有效。这项工作的结果可以作为一个有用的指导,更有效的GPU计算的四面体域中发现的自旋晶格,有限元和特殊的n体问题,等等。

英文摘要:

The study of data-parallel domain re-organization and thread-mapping techniques are relevant topics as they can increase the efficiency of GPU computations when working on spatial discrete domains with non-box-shaped geometry. In this work we study the potential benefits of applying a succint data re-organization of a tetrahedral data-parallel domain of size $\mathcal{O}(n^3)$ combined with an efficient block-space GPU map of the form $g:\mathbb{N} \rightarrow \mathbb{N}^3$. Results from the analysis suggest that in theory the combination of these two optimizations produce significant performance improvement as block-based data re-organization allows a coalesced one-to-one correspondence at local thread-space while $g(λ)$ produces an efficient block-space spatial correspondence between groups of data and groups of threads, reducing the number of unnecessary threads from $O(n^3)$ to $O(n^2ρ^3)$ where $ρ$ is the linear block-size and typically $ρ^3 \ll n$. From the analysis, we obtained that a block based succint data re-organization can provide up to $2\times$ improved performance over a linear data organization while the map can be up to $6\times$ more efficient than a bounding box approach. The results from this work can serve as a useful guide for a more efficient GPU computation on tetrahedral domains found in spin lattice, finite element and special n-body problems, among others.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑