Skip to search boxSkip to navigationSkip to main content

GSWO: A programming model for GPU-enabled parallelization of sliding window operations in image processing

  • Po Yang
    ,
  • Gordon Clapworthy
    ,
  • Feng Dong
    ,
  • Valeriu Codreanu
    ,
  • ,
  • Baoquan Liu
Research Output: Contribution to journal Article Peer-review

Open access

Abstract

Sliding Window Operations (SWOs) are widely used in image processing applications. They often have to be performed repeatedly across the target image, which can demand significant computing resources when processing large images with large windows. In applications in which real-time performance is essential, running these filters on a CPU often fails to deliver results within an acceptable timeframe. The emergence of sophisticated graphic processing units (GPUs) presents an opportunity to address this challenge. However, GPU programming requires a steep learning curve and is error-prone for novices, so the availability of a tool that can produce a GPU implementation automatically from the original CPU source code can provide an attractive means by which the GPU power can be harnessed effectively. This paper presents a GPU-enabled programming model, called GSWO, which can assist GPU novices by converting their SWO-based image processing applications from the original C/C++ source code to CUDA code in a highly automated manner. This model includes a new set of simple SWO pragmas to generate GPU kernels and to support effective GPU memory management. We have implemented this programming model based on a CPU-to-GPU translator (C2GPU). Evaluations have been performed on a number of typical SWO image filters and applications. The experimental results show that the GSWO model is capable of efficiently accelerating these applications, with improved applicability and a speed-up of performance compared to several leading CPU-to-GPU source-to-source translators

Publication Information

Output type

Research Output: Contribution to journal Article Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 332-345

Journal (Volume, Issue Number)

Signal Processing: Image Communication (Volume 47)

Publication milestones

  • Published - 02/07/2016

Publication status

Published - 02/07/2016

ISSN

0923-5965

External Publication IDs

  • handle.net: 10547/622860
  • Scopus: 84979547570