Skip to main content
QUICK REVIEW

[Paper Review] Finding Convex Hulls Using Quickhull on the GPU

Stanley Tzeng, John D. Owens|arXiv (Cornell University)|Jan 13, 2012
Computational Geometry and Mesh GenerationComputer Science13 references18 citations
TL;DR

This paper presents a GPU-accelerated convex hull algorithm based on Quickhull, using a novel framework that replaces recursive splitting with data permutation to overcome GPU limitations in recursion. The method achieves an order-of-magnitude speedup over CPU-based convex hull libraries by efficiently mapping divide-and-conquer logic to GPU-optimized segmented operations and kernel launches.

ABSTRACT

We present a convex hull algorithm that is accelerated on commodity graphics hardware. We analyze and identify the hurdles of writing a recursive divide and conquer algorithm on the GPU and divise a framework for representing this class of problems. Our framework transforms the recursive splitting step into a permutation step that is well-suited for graphics hardware. Our convex hull algorithm of choice is Quickhull. Our parallel Quickhull implementation (for both 2D and 3D cases) achieves an order of magnitude speedup over standard computational geometry libraries.

Motivation & Objective

  • To enable efficient implementation of recursive divide-and-conquer algorithms on GPUs, which lack native support for recursion.
  • To address the performance bottleneck in convex hull computation by offloading it from the CPU to the GPU.
  • To develop a generalized framework for mapping divide-and-conquer algorithms to GPU-architected data-parallel workloads.
  • To achieve high performance in convex hull computation for 2D and 3D point sets using commodity GPU hardware.

Proposed method

  • Replaces recursive splitting with data permutation to avoid GPU recursion limitations.
  • Uses segment flags to maintain logical partitions of data within a single array, enabling segmented processing.
  • Maps Quickhull’s recursive partitioning into iterative kernel launches with permutative reorganization of input data.
  • Employs compact operations to discard points not on the hull, reducing data size per iteration.
  • Leverages GPU-optimized memory access patterns and kernel launches to minimize latency.
  • Extends the framework to support 4D and higher-dimensional convex hull computation.

Experimental results

Research questions

  • RQ1How can recursive divide-and-conquer algorithms be effectively mapped to GPU-architected, data-parallel execution models without native recursion?
  • RQ2What performance gains can be achieved by implementing Quickhull on the GPU using a permutation-based framework?
  • RQ3How does the performance of the GPU-ported Quickhull compare to standard CPU-based convex hull libraries across different point distributions?
  • RQ4What are the primary performance bottlenecks in GPU-based convex hull computation, particularly in high-hull cases?
  • RQ5Can the proposed framework be generalized to other divide-and-conquer algorithms beyond convex hulls?

Key findings

  • The GPU-optimized Quickhull implementation achieves an order-of-magnitude speedup (10x) over CPU-based convex hull libraries such as qhull and hull.
  • The method outperforms CPU implementations across all tested point distributions: uniform, on a circle/sphere, and near a circle/sphere.
  • Performance degradation is observed in the circle and sphere cases due to increased iterations; the GPU version slows down by 17x (circle) and 14x (sphere) compared to uniform distributions.
  • The CPU version of qhull experiences a 23x slowdown on the sphere case, while hull shows only a 2x slowdown, indicating the GPU overhead is more sensitive to hull density.
  • The framework is extensible to higher dimensions, with a working 4D convex hull extension demonstrated using the same core principles.
  • Future hardware support for kernel launching from kernels (e.g., nested kernel launches) is expected to significantly reduce CPU-GPU communication overhead and further improve performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.