Accelerating Spatial Data Processing by Repurposing Ray Tracing Cores

Oct 16, 2026·
Liang Geng
Liang Geng
· 1 min read
Abstract

Fast spatial data processing is vital for location-based services, autonomous navigation, and geospatial analytics. However, processing large-scale spatial datasets is computationally intensive due to complex geometric computation and high volume of geometries. While spatial systems rely on tree-based indexes to prune the search space, and turn to GPUs for parallel compute, traversing tree structures on GPUs is inherently inefficient due to pointer chasing, branch divergence, and irregular memory accesses. Consequently, traditional GPU-accelerated spatial processing struggles to achieve high performance.

Recent GPU architectures have introduced Ray Tracing (RT) cores, designed to accelerate Bounding Volume Hierarchy (BVH) traversal and ray-primitive intersection tests with dedicated circuits, delivering order-of-magnitude speedups over software-based approaches. Recent research shows that RT cores can also benefit non-rendering workloads by reformulating them as ray tracing tasks. Given the similarity in execution patterns, spatial data processing tasks may also benefit from using RT cores. This dissertation presents a comprehensive suite of hardware-accelerated solutions spanning core spatial operators to end-to-end database engines.

We first present RayJoin, a real-time spatial join framework using RT cores. RayJoin accelerates two fundamental queries: Line Segment Intersection (LSI) and Point-In-Polygon (PIP) tests. It also tackles two challenges: (1) achieving high-precision results despite hardware precision limitations, and (2) reducing BVH construction costs while maintaining high query performance. Evaluations show RayJoin achieves 3.0× to 28.3× speedups over existing highly optimized methods under high-precision settings.

Some spatial workloads demand fast point and range queries supported by spatial indexing. To address this, we propose LibRTS, a general-purpose spatial indexing library that leverages RT cores. By reformulating queries as RT-friendly tasks and addressing load-balancing challenges, LibRTS achieves high performance without requiring developers to manage RT-specific programming complexities. LibRTS achieves speedups of up to 85.1× for point queries, 94.0× for range-contains queries, and 11.0× for range-intersects queries. In a real-world application, the PIP test, LibRTS also surpasses the state-of-the-art RT method by up to 3.8×.

Third, we introduce X-HD, an RT-accelerated solution for computing the Hausdorff Distance (HD), a critical spatial measurement used in computer vision, medical imaging, geospatial analysis, and CAD. We reformulate HD computation as a nearest neighbor search to leverage hardware-accelerated BVH traversal. We apply a grid-based partitioning strategy that groups spatially proximate points into the same cell and adopt pruning techniques such as early-break. As a result, X-HD outperforms the state-of-the-art industrial software ITK by 5.3× on average. Compared to a GPU-optimized HD solution, X-HD achieves a speedup of up to 6.4×.

Finally, to bridge the gap between individual spatial operator acceleration and an industrial spatial database system, we present RayBooster, an end-to-end RT-acceleration solution integrated into Apache SedonaDB. RayBooster introduces a GPU-friendly memory layout for random geometry access, a monolithic BVH construction scheme to reduce index build-up costs, and a unified RelateEngine evaluating DE-9IM topological matrices as its core components. RayBooster achieves up to 5.93× speedup over SedonaDB on SpatialBench while reducing operational costs by 59.02%.

Type
Publication
Ph.D. Dissertation, The Ohio State University
publications

Defense Recording

Liang Geng
Authors
Ph.D. Candidate
Presidential Fellow
I am Liang Geng, a Ph.D. candidate in the Department of Computer Science and Engineering at The Ohio State University. My research focuses on algorithm engineering, specifically leveraging NVIDIA RT Cores to accelerate non-rendering workloads, such as geospatial data processing. I am co-advised by Prof. Xiaodong Zhang and Dr. Rubao Lee, and I maintain close research collaborations with Prof. Yanfeng Zhang and Dr. Hao Wang. Prior to joining OSU, I was a Senior Engineer at Alibaba DAMO Academy under the supervision of Dr. Wenyuan Yu, where I developed GPU support for libgrape-lite.