Seamless GPU evaluation of smart expression templates

Wicht, Baptiste (University of Fribourg, Switzerland) ; Fischer, Andreas (School of Engineering and Architecture (HEIA-FR), HES-SO // University of Applied Sciences Western Switzerland) ; Hennebert, Jean (School of Engineering and Architecture (HEIA-FR), HES-SO // University of Applied Sciences Western Switzerland)

Expression Templates is a technique allowing to write linear algebra code in C++ the same way it would be written on paper. It is also used extensively as a performance optimization technique, especially as the Smart Expression Templates form which allows for even higher performance. It has proved to be very efficient for computation on a Central Processing Unit (CPU). However, due to its design, it is not easily implemented on a Graphics Processing Unit (GPU). In this paper, we devise a set of techniques to allow the seamless evaluation of Smart Expression Templates on the GPU. The execution is transparent for the user of the library which still uses the matrices and vector as if it was on the CPU and profits from the performance and higher multi-processing capabilities of the GPU. We also show that the GPU version is significantly faster than the CPU version, without any change to the code of the user.


Keywords:
Conference Type:
full paper
Faculty:
Ingénierie et Architecture
School:
HEIA-FR
Institute:
iCoSys - Institut des systèmes complexes
Subject(s):
Ingénierie
Publisher:
Orléans, France, 16-20 July 2018
Date:
2018-07
Orléans, France
16-20 July 2018
Pagination:
8 p.
Published in:
Proceedings of the 2018 International Conference on High Performance Computing & Simulation (HPCS 2018), The 16th Annual Meeting, 16-20 July 2018, Orléans, France
DOI:
ISBN:
978-1-5386-7878-7
External resources:
Appears in Collection:

Note: The status of this file is: restricted


 Record created 2019-02-26, last modified 2019-03-05

Fulltext:
Download fulltext
PDF

Rate this document:

Rate this document:
1
2
3
 
(Not yet reviewed)