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

用并行GPU算法加速凸包计算

Accelerating the Convex Hull Computation with a Parallel GPU Algorithm

Alan Keith, Héctor Ferrada, Cristóbal A. Navarro

摘要:

凸包是许多应用的基本几何结构,其中点组必须由凸多边形包围或表示。虽然存在有效的顺序凸包算法,并且在应用中不断使用,但是它们的计算时间通常被认为是时间敏感任务的问题,例如实时碰撞检测、聚类或用于虚拟现实的图像处理等,其中需要快速的响应时间。在这项工作中,我们提出了一个并行的基于GPU的适应heaphull,这是一个国家的最先进的CPU算法,计算的凸包首先做一个有效的过滤阶段,然后由实际的凸包计算。更具体地说,这项工作并行化的过滤阶段,使其适应GPU编程模型作为一系列的并行减少。实验结果表明,该算法显著提高了凸包计算的性能,其加速比达到了$4\times$,而$3\times \sim 4\times$的加速比则达到了$4\times$.

英文摘要:

The convex hull is a fundamental geometrical structure for many applications where groups of points must be enclosed or represented by a convex polygon. Although efficient sequential convex hull algorithms exist, and are constantly being used in applications, their computation time is often considered an issue for time-sensitive tasks such as real-time collision detection, clustering or image processing for virtual reality, among others, where fast response times are required. In this work we propose a parallel GPU-based adaptation of heaphull, which is a state of the art CPU algorithm that computes the convex hull by first doing a efficient filtering stage followed by the actual convex hull computation. More specifically, this work parallelizes the filtering stage, adapting it to the GPU programming model as a series of parallel reductions. Experimental evaluation shows that the proposed implementation significantly improves the performance of the convex hull computation, reaching up to $4\times$ of speedup over the sequential CPU-based heaphull and between $3\times \sim 4\times$ over existing GPU based approaches.

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

↑