An Interface for Halo Exchange Pattern

Mauro Bianco
Swiss National Supercomputing Centre (CSCS)
PRACE Whitepaper WP86, 2013


   title={An Interface for Halo Exchange Pattern},

   author={Bianco, Mauro},



Download Download (PDF)   View View   Source Source   



Halo exchange patterns are very common in scientific computing, since the solution of PDEs often requires communication between neighbor points. Although this is a common pattern, implementations are often made by programmers from scratch, with an accompanying feeling of "reinventing the wheel". In this paper we describe GCL, a C++ generic library that implements a flexible and still efficient interface to specify halo-exchange/haloupdate operations for regular grids. GCL allows to specify data layout, processor mapping, value types, and other parameters at compile time, while other parameters are specified at run-time. GCL is also GPU enabled and we show that, somewhat surprisingly, GPU-to-GPU communication can be faster than the traditional CPUto-CPU communication, making accelerated platforms more appealing for large scale computations.
No votes yet.
Please wait...

* * *

* * *

Featured events

HGPU group © 2010-2018 hgpu.org

All rights belong to the respective authors

Contact us: