Efficient parallel stencil convolution in Haskell
Ben Lippmeier, Gabriele Keller · 2011
Stencil convolution is a fundamental building block of many scientific and image processing algorithms. We present a declarative approach to writing such convolutions in Haskell that is both efficient at runtime and implicitly parallel. To achieve this we extend our prior work on the Repa array library with two new features: partitioned and cursored arrays. Combined with careful management of the interaction between GHC and its back-end code generator LLVM, we achieve performance comparable to the standard OpenCV library.
Cited by 24 works. doi:10.1145/2034675.2034684
Authors
References
- Finding Edges and Lines in Images
- Learning openCV: computer vision with the openCV library
- Detecting equality of variables in programs
- Global value numbers and redundant computations
- Stencil computation optimization and auto-tuning on state-of-the-art multicore architectures
- Oak Ridge National Laboratory
- Gang scheduling performance benefits for fine-grain synchronization
- Computer aided parallelisation tools (CAPTools) — conceptual overview and performance on the parallelisation of structured mesh codes
- Effective automatic parallelization of stencil computations
- Lazy functional state threads