GPU Programming Productivity in Different Abstraction Paradigms
Document Type
Article
Publication Date
11-1-2020
Publication Title
ACM Transactions on Computing Education
Volume
20
Issue
4
First page number:
1
Last page number:
27
Abstract
© 2020 ACM. Coprocessor architectures in High Performance Computing are prevalent in today's scientific computing clusters and require specialized knowledge for proper utilization. Various alternative paradigms for parallel and offload computation exist, but little is known about the human factors impacts of using the different paradigms. With computer science student participants from the University of Nevada, Las Vegas with no previous exposure to Graphics Processing Unit programming, our study compared NVIDIA CUDA C/C++ as a control group and the Thrust library. The designers of Thrust claim their higher level of abstraction enhances programmer productivity. The trial was conducted on 91 participants and was administered through our computerized testing platform. Although the study was narrowly focused on the basic steps of an offloaded computation problem and was not intended to be a comprehensive evaluation of the superiority of one approach or the other, we found evidence that although Thrust was designed for ease of use, the abstractions tended to be confusing to students and in several cases diminished productivity. Specifically, abstractions in Thrust for (i) memory allocation through a C++ Standard Template Library-style vector library call, (ii) memory transfers between the host and Graphics Processing Unit coprocessor through an overloaded assignment operator, and (iii) execution of an offloaded routine through a generic transform library call instead of a CUDA kernel routine all performed either equal to or worse than CUDA.
Keywords
Computer science education; Empirical studies; Evaluation; Gpu programming; Human factors evidence; Parallel programming; Threads
Disciplines
Software Engineering
Language
English
Repository Citation
Daleiden, P.,
Stefik, A.,
Uesbeck, P.
(2020).
GPU Programming Productivity in Different Abstraction Paradigms.
ACM Transactions on Computing Education, 20(4),
1-27.
http://dx.doi.org/10.1145/3418301