Fast slope algorithm with the use of vectorization and parallelization for multicore architectures
Open Access
- 7 July 2023
- journal article
- research article
- Published by Springer Nature in GeoInformatica
- Vol. 28 (1) , 145-175
Abstract
The slope calculation algorithm is one of the most widely used geospatial algorithms employing the 3x3 moving window technique (along with calculation of aspect, curvature and flow direction). This work presents an approach consisting of transforming a slope algorithm from a sequential form into a version that can exploit vector and parallel traits of multicore architectures with vector instructions. This approach allows us to take advantage of the potential of the modern multicore processors. The basic idea for optimizing the 3x3 moving window computation is to split the equation used to calculate the result into parts that operate on data that are known to exist in adjacent memory locations. The research was conducted on two multicore architectures without the change in the code — the older architecture was Sandy Bridge and the newer one was Haswell (with more cores). The efficiency of the developed slope algorithm was verified in practice with the use of DEM files of the same resolution but of different sizes. We showed through the numerical experiments that our approach gives better time performance than the original algorithm (and other tools) — and with no loss of accuracy.Keywords
This publication has 35 references indexed in Scilit:
- Digital terrain modelingGeomorphology, 2012
- Chapter 6 Basic Land-Surface Parameters2009
- An evaluation of methods to determine slope using digital elevation dataCATENA, 2004
- Analysis of errors of derived slope and aspect related to DEM data propertiesComputers & Geosciences, 2004
- Spatial distribution of soil moisture content within catchments and its modelling on the basis of topographic dataJournal of Hydrology, 2003
- A comparison of algorithms used to compute hill slope as a property of the DEMComputers & Geosciences, 1998
- Accuracy of local topographic variables derived from digital elevation modelsInternational Journal of Geographical Information Science, 1998
- Compiler transformations for high-performance computingACM Computing Surveys, 1994
- A loop transformation theory and an algorithm to maximize parallelismIEEE Transactions on Parallel and Distributed Systems, 1991
- A comparison of techniques for calculating gradient and aspect from a gridded digital elevation modelInternational Journal of Geographical Information Science, 1989