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

ParGeo:并行计算几何库

ParGeo: A Library for Parallel Computational Geometry

Yiqiu Wang, Rahul Yesantharao, Shangdi Yu, Laxman Dhulipala, Yan Gu, Julian Shun

摘要:

本文介绍了ParGeo,一个用于计算几何的多核库。ParGeo包含用于基本任务的模块,包括基于$k$ d树的空间搜索、空间图形生成和计算几何中的算法。我们专注于图书馆提供的三个新的算法贡献。首先,我们提出了一个新的并行凸包算法的基础上保留技术,使并行修改的外壳。我们还提供了随机增量凸包算法以及$\mathbb{R}^3$中分治凸包算法的第一个并行实现。其次,针对最小包围球问题,提出了一种基于采样的快速缩减数据集的算法。我们还提供了Welzl的经典算法的最小封闭球的第一个并行实现。第三,我们提出了BDL树,一个并行批处理动态$k$ d树,允许高效的并行更新和$k$ -NN查询动态变化的点集。BDL-树由一组日志结构的$k$ d-树组成,可用于高效地并行插入、删除和查询批量点。在36核的双向超线程,我们最快的凸包算法实现了高达44.7倍的自相关并行加速比和高达559倍的加速比对现有的最好的顺序实现。我们最小的封闭球算法,使用我们的基于采样的算法实现了高达27.1倍的自相关并行加速和高达178倍的加速对现有的最佳顺序实现。我们实现的BDL树实现了自我相对并行加速高达46.1倍。在ParGeo的所有算法中,我们实现了8.1- 46.61倍的自相关并行加速比。

英文摘要:

This paper presents ParGeo, a multicore library for computational geometry. ParGeo contains modules for fundamental tasks including $k$d-tree based spatial search, spatial graph generation, and algorithms in computational geometry. We focus on three new algorithmic contributions provided in the library. First, we present a new parallel convex hull algorithm based on a reservation technique to enable parallel modifications to the hull. We also provide the first parallel implementations of the randomized incremental convex hull algorithm as well as a divide-and-conquer convex hull algorithm in $\mathbb{R}^3$. Second, for the smallest enclosing ball problem, we propose a new sampling-based algorithm to quickly reduce the size of the data set. We also provide the first parallel implementation of Welzl's classic algorithm for smallest enclosing ball. Third, we present the BDL-tree, a parallel batch-dynamic $k$d-tree that allows for efficient parallel updates and $k$-NN queries over dynamically changing point sets. BDL-trees consist of a log-structured set of $k$d-trees which can be used to efficiently insert, delete, and query batches of points in parallel. On 36 cores with two-way hyper-threading, our fastest convex hull algorithm achieves up to 44.7x self-relative parallel speedup and up to 559x speedup against the best existing sequential implementation. Our smallest enclosing ball algorithm using our sampling-based algorithm achieves up to 27.1x self-relative parallel speedup and up to 178x speedup against the best existing sequential implementation. Our implementation of the BDL-tree achieves self-relative parallel speedup of up to 46.1x. Across all of the algorithms in ParGeo, we achieve self-relative parallel speedup of 8.1--46.61x.

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

↑