LibRTS: A Spatial Indexing Library by Ray Tracing
Liang Geng, Rubao Lee, Xiaodong Zhang
Abstract
The Ray-Tracing (RT) core has become a widely integrated feature in modern GPUs to accelerate ray-tracing rendering. Recent research has shown that RT cores can also be repurposed to accelerate non-rendering workloads. Since the RT core essentially serves as a hardware accelerator for Bounding Volume Hierarchy (BVH) tree traversal, it holds the potential to significantly improve the performance of spatial workloads. However, the specialized RT programming model poses challenges for using RT cores in these scenarios. Inspired by the core functionality of RT cores, we designed and implemented LibRTS, a spatial index library that leverages RT cores to accelerate spatial queries. LibRTS supports both point and range queries and remains mutable to accommodate changing data. Instead of relying on a case-by-case approach, LibRTS provides a general, highperformance spatial indexing framework for spatial data processing. By formulating spatial queries as RT-suitable problems and overcoming load-balancing challenges, LibRTS delivers superior query performance through RT cores without requiring developers to master complex programming on this specialized hardware. Compared to CPU and GPU spatial libraries, LibRTS achieves speedups of up to 85.1x for point queries, 94.0x for range-contains queries, and 11.0x for range-intersects queries. In a real-world application, pointin-polygon testing, LibRTS also surpasses the state-of-the-art RT method by up to 3.8x.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 157a2c00-b0cf-421e-8b78-ec985697ab97Cited by top-tier papers2
- RT-RkNN: Reverse k Nearest Neighbor Queries as a Graphics Ray Casting ProblemZhengyang Bai, Peng Chen, Mohamed WahibVLDB 2026
- TTP: A Hardware-Efficient Design for Precise Prefetching in Ray TracingYavuz Selim Tozlu, Anshul Naithani, Huiyang ZhouISCA 2026
Builds on12
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- LISA: A Learned Index Structure for Spatial DataPengfei Li, Hua Lu, Qian Zheng, Long Yang et al.SIGMOD 2020 · 158 citations
- Effectively Learning Spatial IndicesJianzhong Qi, Guanli Liu, Christian S. Jensen, Lars KulikVLDB 2020 · 121 citations
- RTNN: accelerating neighbor search using hardware ray tracingYuhao ZhuPPoPP 2022 · 43 citations
- RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database IndexingJustus Henneberg, Felix SchuhknechtVLDB 2023 · 25 citations
Related papers
- GraphRTX: Lighting the Way to Scalable Graph AnalyticsAlexander Baumstark, Kai-Uwe SattlerSIGMOD 2026
- RayDB: Building Databases with Ray Tracing CoresXuri Shi, Kai Zhang, X. Sean Wang, Xiaodong Zhang et al.VLDB 2026 · 3 citations
- Extending GPU Ray-Tracing Units for Hierarchical Search AccelerationAaron Barnes, Fangjia Shen, Timothy G. RogersMICRO 2024 · 10 citations
- AQB8: Energy-Efficient Ray Tracing Accelerator through Multi-Level QuantizationYen-Chieh Huang, Chen-Pin Yang, Tsung Tai YehISCA 2025 · 1 citation
- Optimizing Spatial Data Structure with Near-Cache Acceleration by Exploiting Physical LocalityHongyi Li, Yijia Liu, Haoran Pei, Qingyuan Yang et al.ISCA 2026
