A tuning approach for iterative multiple 3d stencil pipeline on GPUs: Anisotropic Nonlinear Diffusion algorithm as case study

S. Tabik, M. Peemen, L. F. Romero

Research output: Contribution to journalArticleAcademicpeer-review

1 Citation (Scopus)

Abstract

This paper focuses on challenging applications that can be expressed as an iterative pipeline of multiple 3d stencil stages and explores their optimization space on GPUs. For this study, we selected a representative example from the field of digital signal processing, the Anisotropic Nonlinear Diffusion algorithm. An open issue to these applications is to determine the optimal fission/fusion level of the involved stages and whether that combination benefits from data tiling. This implies exploring a large space of all the possible fission/fusion combinations with and without tiling, thus making the process non-trivial. This study provides insights to reduce the optimization tuning space and programming effort of iterative multiple 3d stencils. Our results demonstrate that all combinations that fuse the bottleneck stencil with high halos update cost (> 25 % , this percentage can be measured or estimated experimentally for each single stencil) and high registers and shared memory accesses must not be considered in the exploration process. The optimal fission/fusion combination is up to 1.65× faster than the case in which we fully decompose our stencil without tiling and 5.3× faster with respect to the fully fused version on the NVIDIA GPUs.

Original languageEnglish
Pages (from-to)1580-1608
Number of pages29
JournalJournal of Supercomputing
Volume74
Issue number4
DOIs
Publication statusPublished - 1 Apr 2018

Keywords

  • 3d images
  • 3d stencils
  • Anisotropic Nonlinear Diffusion
  • Fission
  • Fusion
  • GPUs
  • Tiling

Fingerprint Dive into the research topics of 'A tuning approach for iterative multiple 3d stencil pipeline on GPUs: Anisotropic Nonlinear Diffusion algorithm as case study'. Together they form a unique fingerprint.

  • Cite this