Book section Open Access

Multi-Variant User Functions for Platform-Aware Skeleton Programming

Ernstsson, August; Kessler, Christoph

Today’s computer architectures are increasingly specialized and heterogeneous configurations of computational units are common. To provide efficient programming of these systems while still achieving good performance, including performance portability across platforms, high-level parallel programming libraries and tool-chains are used, such as the skeleton programming framework SkePU. SkePU works on heterogeneous systems by automatically generating program components, “user functions”, for multiple different execution units in the system, such as CPU and GPU, from a high-level C++ program. This work extends this multi-backend approach by providing the possibility for the programmer to provide additional variants of these user functions tailored for different scenarios, such as platform constraints. This paper introduces the overall approach of multi-variant user functions, provides several use cases including explicit SIMD vectorization for supported hardware, and evaluates the result of these optimizations that can be achieved using this extension.
Files (191.2 kB)
Name Size
191.2 kB Download
Views 140
Downloads 50
Data volume 9.6 MB
Unique views 129
Unique downloads 46


Cite as