Battling memory requirements of array programming through streaming

Mads Ruben Burgdorff Kristensen, James Emil Avery, Troels Blum, Simon Andreas Frimann Lund, Brian Vinter

3 Citationer (Scopus)

Abstract

A barrier to efficient array programming, for example in Python/NumPy, is that algorithms written as pure array operations completely without loops, while most efficient on small input, can lead to explosions in memory use. The present paper presents a solution to this problem using array streaming, implemented in the automatic parallelization high-performance framework Bohrium. This makes it possible to use array programming in Python/NumPy code directly, even when the apparent memory requirement exceeds the machine capacity, since the automatic streaming eliminates the temporary memory overhead by performing calculations in per-thread registers.

Using Bohrium, we automatically fuse, JIT-compile, and execute NumPy array operations on GPGPUs without modification to the user programs. We present performance evaluations of three benchmarks, all of which show dramatic reductions in memory use from streaming, yielding corresponding improvements in speed and utilization of GPGPU-cores. The streaming-enabled Bohrium effortlessly runs programs on input sizes much beyond sizes that crash on pure NumPy due to exhausting system memory.
OriginalsprogEngelsk
BogserieLecture notes in computer science
Vol/bind2016
Sider (fra-til)451-469
Antal sider19
ISSN0302-9743
DOI
StatusUdgivet - 2016
Begivenhed1st International Workshop on Performance Portable Programming Models for Accelerators - Frankfurt, Tyskland
Varighed: 23 jun. 201623 jun. 2016
Konferencens nummer: 1

Konference

Konference1st International Workshop on Performance Portable Programming Models for Accelerators
Nummer1
Land/OmrådeTyskland
ByFrankfurt
Periode23/06/201623/06/2016

Fingeraftryk

Dyk ned i forskningsemnerne om 'Battling memory requirements of array programming through streaming'. Sammen danner de et unikt fingeraftryk.

Citationsformater