Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

Converting to and from Dilated Integers

Published: 01 April 2008 Publication History

Abstract

Dilated integers form an ordered group of the Cartesian indices into a d\hbox{-}{\rm dimensional} array represented in the Morton order. Efficient implementations of its operations can be found elsewhere. This paper offers efficient casting (type)conversions to and from an ordinary integer representation. As the Morton order representation for 2D and 3D arrays attracts more users because of its excellent block locality, the efficiency of these conversions becomes important. They are essential for programmers who would use Cartesian indexing there. Two algorithms for each casting conversion are presented here, including to-and-from dilated integers for both d = 2 and d = 3. They fall into two families. One family uses newly compact table lookup, so the cache capacity is better preserved. The other generalizes better to all d, using processor-local arithmetic that is newly presented as abstract d\hbox{-}{\rm ary} and (d - 1)\hbox{-}{\rm ary} recurrences. Test results for two and three dimensions generally favor the former.

Cited By

View all
  • (2020)Locality properties of 3D data orderings with application to parallel molecular dynamics simulationsInternational Journal of High Performance Computing Applications10.1177/109434201984628233:5(998-1018)Online publication date: 17-Jun-2020
  • (2018)Morton ordering of 2D arrays for efficient access to hierarchical memoryInternational Journal of High Performance Computing Applications10.5555/3195474.319548532:1(189-203)Online publication date: 1-Jan-2018
  • (2018)Constructing a High-Dimensional kNN-Graph Using a Z-Order CurveACM Journal of Experimental Algorithmics10.1145/327465623(1-21)Online publication date: 22-Oct-2018
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image IEEE Transactions on Computers
IEEE Transactions on Computers  Volume 57, Issue 4
April 2008
144 pages

Publisher

IEEE Computer Society

United States

Publication History

Published: 01 April 2008

Author Tags

  1. Analysis of Algorithms
  2. Data Structures: Arrays
  3. Memory Structures: Design Styles
  4. Programming Techniques: General
  5. and Problem Complexity: Numerical algorithms
  6. problems: computations on matrices.

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 22 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2020)Locality properties of 3D data orderings with application to parallel molecular dynamics simulationsInternational Journal of High Performance Computing Applications10.1177/109434201984628233:5(998-1018)Online publication date: 17-Jun-2020
  • (2018)Morton ordering of 2D arrays for efficient access to hierarchical memoryInternational Journal of High Performance Computing Applications10.5555/3195474.319548532:1(189-203)Online publication date: 1-Jan-2018
  • (2018)Constructing a High-Dimensional kNN-Graph Using a Z-Order CurveACM Journal of Experimental Algorithmics10.1145/327465623(1-21)Online publication date: 22-Oct-2018
  • (2018)SenseVault: A Three-tier Framework for Securing Mobile Underwater Sensor NetworksIEEE Transactions on Mobile Computing10.1109/TMC.2018.281280117:11(2632-2645)Online publication date: 1-Oct-2018
  • (2017)Cache-oblivious Matrix Multiplication for Exact TU FactorisationProceedings of the International Workshop on Parallel Symbolic Computation10.1145/3115936.3115949(1-10)Online publication date: 23-Jul-2017
  • (2015)Accelerating Molecular Structure Determination Based on Inter-Atomic Distances Using OpenCLIEEE Transactions on Parallel and Distributed Systems10.1109/TPDS.2014.238571226:12(3250-3263)Online publication date: 1-Dec-2015
  • (2012)A sparse octree gravitational N-body code that runs entirely on the GPU processorJournal of Computational Physics10.1016/j.jcp.2011.12.024231:7(2825-2839)Online publication date: 1-Apr-2012
  • (2011)A new and effective hierarchical overlay structure for Peer-to-Peer networksComputer Communications10.1016/j.comcom.2010.10.00534:7(862-874)Online publication date: 1-May-2011
  • (2010)Optimizing memory access on GPUs using morton order indexingProceedings of the 48th annual ACM Southeast Conference10.1145/1900008.1900035(1-4)Online publication date: 15-Apr-2010
  • (2009)Architectural support for SWAR text processing with parallel bit streamsACM SIGARCH Computer Architecture News10.1145/2528521.150828337:1(337-348)Online publication date: 7-Mar-2009
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media