Skip to main content
QUICK REVIEW

[Paper Review] Divide-and-Conquer 3D Convex Hulls on the GPU

Jeffrey M. White, Kevin Wortman|arXiv (Cornell University)|May 6, 2012
Computational Geometry and Mesh GenerationComputer Science13 references5 citations
TL;DR

This paper presents a GPU-optimized, bottom-up divide-and-conquer algorithm for computing 3D convex hulls, transforming a recursive top-down approach into a data-parallel kernel-based pipeline. It achieves up to 6x speedup over CPU implementations by leveraging independent kernel launches for merging event logs, avoiding dynamic data structures and synchronization, and fully executing on the GPU with minimal CPU involvement.

ABSTRACT

We describe a pure divide-and-conquer parallel algorithm for computing 3D convex hulls. We implement that algorithm on GPU hardware, and find a significant speedup over comparable CPU implementations.

Motivation & Objective

  • Address the lack of efficient, pure GPU implementations for the 3D convex hull problem despite its computational importance.
  • Overcome GPU limitations such as lack of recursion, dynamic memory, and synchronization primitives to enable parallel execution.
  • Develop a practical, high-performance algorithm that avoids reliance on CPU-based hull computation or hybrid execution.
  • Demonstrate that a bottom-up reimplementation of Chan’s minimalist 3D convex hull algorithm can achieve near-peak GPU performance.

Proposed method

  • Reformulate Chan’s top-down, recursive 3D convex hull algorithm into a bottom-up, iterative process suitable for GPU execution.
  • Represent the convex hull evolution as a sequence of events using a 'movie array' data structure storing event logs for each point.
  • Use independent GPU kernel launches to merge adjacent event logs in parallel, combining two logs into one with double the length.
  • Perform log merging in a binary tree fashion over ⌈log₂n⌉ steps, resulting in a single event log representing the full hull.
  • Map each kernel instance to a disjoint range of input and output indices, ensuring no synchronization or communication between kernels.
  • Avoid dynamic data structures like the doubly connected edge list (DCEL) by encoding hull evolution as event sequences.

Experimental results

Research questions

  • RQ1Can a pure divide-and-conquer 3D convex hull algorithm be adapted for efficient execution on GPU hardware with no recursion or dynamic memory?
  • RQ2Does a bottom-up, kernel-parallel approach outperform hybrid or CPU-accelerated alternatives in terms of performance and simplicity?
  • RQ3To what extent do GPU kernel launch overheads and memory access patterns affect performance in non-embarrassingly-parallel geometric algorithms?
  • RQ4Can the algorithm maintain high performance across varying input sizes, especially in the presence of outlier points?

Key findings

  • The GPU implementation achieves a peak speedup of approximately 6x over a CPU implementation on a modest hardware setup.
  • The speedup remains consistently high (around 6x) for small (4 points) and large (8.4M points) datasets, dropping to ~2.5x at intermediate sizes (32,768 points).
  • The final few merge steps, which were expected to be poorly parallelizable, contribute less than 1ms to total runtime, making hybrid CPU-GPU approaches unnecessary.
  • The algorithm avoids the need for dynamic data structures and synchronization, enabling full GPU execution with only minimal CPU setup and data transfer.
  • Despite GPU low-level complexities such as memory hierarchy and thread scheduling, the algorithm achieves near-peak performance, approaching the theoretical 9x gigaFLOPS advantage of the GPU over the CPU.
  • The approach demonstrates that even complex geometric algorithms like 3D convex hulls can be efficiently mapped to GPU kernels when restructured into independent, data-parallel operations.

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.