RO  EN
IMI/Publicaţii/CSJM/Ediţii/CSJM v.31, n.1 (91), 2023/

Performance comparison of CPU and GPGPU calculations using three simple case studies

Authors: Branislav Lipovský, Slavomír Šimoňák
Keywords: CUDA, Multi-threading, SIMD, Matrix multiplication, Sobel operator, Template matching.

Abstract

In this work, we have prepared and analyzed three case studies comparing CPU and GPGPU calculations. After briefly introducing the topic of parallel programming by means of contemporary CPU and GPGPU technologies, we provide an overview of selected existing works closely related to the topic of the paper. For each of the case studies, a set of programs has been implemented using the following technologies: pure CPU, CPU SIMD, CPU multi-threaded, CPU multi-threaded with SIMD instructions, and GPU - Cuda. We also illustrate the basic idea of the operation of selected algorithms using code snippets. Subsequently, the particular implementations are compared, and obtained results are evaluated and discussed.

Department of Computers and Informatics
Faculty of Electrical Engineering and Informatics
Technical University of Košice
Letná 9, 042 00 Košice, Slovak Republic
ORCID: https://orcid.org/0000-0001-7079-7519
https://orcid.org/0000-0001-6505-3160
E-mail: ,

DOI

https://doi.org/10.56415/csjm.v31.07

Fulltext

Adobe PDF document0.64 Mb