Skip to main content

Parallel Primitives-Based Spatial Join of Geospatial Data on GPGPUs

  • Chapter
  • First Online:
Modern Accelerator Technologies for Geographic Information Science

Abstract

Modern GPU architectures closely resemble supercomputers. Commodity GPUs that have already been integrated with personal and cluster computers can be used to boost the performance of spatial databases and GIS. In this study, we report our preliminary work on designing and implementing a spatial join algorithm on GPUs by using generic parallel primitives that have been well understood and efficiently implemented in many parallel libraries. In addition to help understand the inherent data parallelisms in spatial join operations, our experiments have shown that the reference implementation, which represents a tradeoff between code efficiency and code complexity, is able to achieve a 6.7× speedup when compared to an optimized CPU serial implementation. The result is encouraging in the sense that native implementation of spatial joins directly on top of GPU accelerators can potentially achieve much higher speedups for spatial joins which are fundamental to spatial databases and vector GIS. The implementations of parallel spatial algorithms on top of generic parallel primitives can be an important first step towards designing and developing high-performance spatial-specific parallel primitives to make it easier to build parallel spatial databases and GIS.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://en.wikipedia.org/wiki/GPGPU

  2. 2.

    http://code.google.com/p/thrust/

  3. 3.

    http://developer.nvidia.com/cuda-toolkit-40

  4. 4.

    http://www.nyc.gov/html/dcp/html/bytes/applbyte.shtml

  5. 5.

    http://libspatialindex.github.com/

  6. 6.

    http://www.gdal.org/

  7. 7.

    http://www.opengeospatial.org/standards/sfs

  8. 8.

    http://en.wikipedia.org/wiki/Thinking_Machines_Corporation

  9. 9.

    http://code.google.com/p/cudpp/

  10. 10.

    http://geoteci.engr.ccny.cuny.edu/primquad/primquad_draft.pdf (pages 4–5).

  11. 11.

    http://geoteci.engr.ccny.cuny.edu/primspjion/primspjoin.htm

  12. 12.

    http://www.nvidia.com/object/product-quadro-6000-us.html

References

  • Blanas, S., Li, Y. and Patel, J., 2011. Design and evaluation of main memory hash join algorithms for multi-core CPUs. Proceedings of ACM SIGMOD Conference.

    Google Scholar 

  • Clematis, A., Mineter, M. et al., 2003. High performance computing with geographical data. Parallel Computing 29(10): 1275–1279.

    Article  Google Scholar 

  • Gaede V. and Gunther O., 1998. Multidimensional access methods. ACM Computing Surveys 30(2): 170–231.

    Article  Google Scholar 

  • He, B., Yang, K., et al. 2008. Relational joins on graphics processors. Proceedings of ACM SIGMOD conference.

    Google Scholar 

  • Hoel, E. G. and Samet, H., 1994. Performance of Data-Parallel Spatial Operations. Proceedings of VLDB Conference, 156–167.

    Google Scholar 

  • Hong, S., Kim, S. K., et al., 2011. Accelerating CUDA graph algorithms at maximum warp. Proceedings of the 16th ACM symposium on Principles and practice of parallel programming, 267–276.

    Google Scholar 

  • Hou, Q., Sun, X., et al., 2011. Memory-Scalable GPU Spatial Hierarchy Construction. IEEE Transactions on Visualization and Computer Graphics 17(4): 466–474.

    Article  Google Scholar 

  • Jacox, E. H. and Samet, H., 2007. Spatial join techniques. ACM Transaction on Database System 32(1), Article #7.

    Google Scholar 

  • Luo, L., Wong, M. D. F., et al., 2011. Parallel implementation of R-trees on the GPU. Proceedings of the 17th Asia and South Pacific Design Automation Conference (ASP-DAC), 353–358.

    Google Scholar 

  • Samet, H., 2005. Foundations of Multidimensional and Metric Data Structures Morgan Kaufmann.

    Google Scholar 

  • Zhou, K., Gong, M., et al., 2011. Data-Parallel Octrees for Surface Reconstruction. IEEE Transactions on Visualization and Computer Graphics 17(5): 669–681.

    Article  MathSciNet  Google Scholar 

  • Zhang, J., You, S. and Gruenwald, L., 2010. Indexing large-scale raster geospatial data using massively parallel GPGPU computing. Proceedings of ACM-GIS, 450–453.

    Google Scholar 

  • Zhou, K., Hou, Q., et al., 2008. Real-Time KD-Tree Construction on Graphics Hardware. ACM Trans. on Graphics 27(5).

    Google Scholar 

  • Zhang, J., 2010. Towards Personal High-Performance Geospatial Computing (HPC-G): Perspectives and a Case Study. Proceedings of ACM HPDGIS workshop, 3–10.

    Google Scholar 

Download references

Acknowledgment

This research was supported partially by the PSC-CUNY grant 65692-00 43.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jianting Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer Science+Business Media New York

About this chapter

Cite this chapter

Zhang, J. (2013). Parallel Primitives-Based Spatial Join of Geospatial Data on GPGPUs. In: Shi, X., Kindratenko, V., Yang, C. (eds) Modern Accelerator Technologies for Geographic Information Science. Springer, Boston, MA. https://doi.org/10.1007/978-1-4614-8745-6_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4614-8745-6_5

  • Published:

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4614-8744-9

  • Online ISBN: 978-1-4614-8745-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics