ParGeo: A Library for Parallel Computational Geometry

Yiqiu Wang, Rahul Yesantharao, Shangdi Yu, Laxman Dhulipala, Yan Gu +1 more
7/5/2022
cs.CG

Official code: ParAlg/ParGeo (57 stars, C++, MIT, last commit 2022-09-12).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

ParAlg/ParGeoOfficial100%
MIT
5713C++, CMakeDec 20, 20214 years agoMIT

Similar Papers

Cite this paper

@article{wang2022pargeo,
  title  = {ParGeo: A Library for Parallel Computational Geometry},
  author = {Yiqiu Wang and Rahul Yesantharao and Shangdi Yu and Laxman Dhulipala and Yan Gu and Julian Shun},
  year   = {2022},
  eprint = {2207.01834},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.01834}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.01834.svg)](https://codeofpaper.com/paper/2207.01834)

Discussion