Impact of CUDA and OpenCL on Parallel and Distributed Computing

被引:7
作者
Abu Asaduzzaman [1 ]
Trent, Alec [1 ]
Osborne, S. [1 ]
Aldershof, C. [1 ]
Sibai, Fadi N. [2 ]
机构
[1] Wichita State Univ, Elect Engn & Comp Sci Dept, Wichita, KS 67260 USA
[2] Prince Mohammad Bin Fahd Univ, Dept Comp Engn, Al Khobar, Saudi Arabia
来源
2021 8TH INTERNATIONAL CONFERENCE ON ELECTRICAL AND ELECTRONICS ENGINEERING (ICEEE 2021) | 2021年
关键词
CUDA; high performance computing; OpenCL; parallel and distributed computing; performance analysis;
D O I
10.1109/ICEEE52452.2021.9415927
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Along with high performance computer systems, the Application Programming Interface (API) used is crucial to develop efficient solutions for modern parallel and distributed computing. Compute Unified Device Architecture (CUDA) and Open Computing Language (OpenCL) are two popular APIs that allow General Purpose Graphics Processing Unit (GPGPU, GPU for short) to accelerate processing in applications where they are supported. This paper presents a comparative study of OpenCL and CUDA and their impact on parallel and distributed computing. Mandelbrot set (represents complex numbers) generation, Marching Squares algorithm (represents embarrassingly parallelism), and Bitonic Sorting algorithm (represents distributed computing) are implemented using OpenCL (version 2.x) and CUDA (version 9.x) and run on a Linux-based High Performance Computing (HPC) system. The HPC system uses an Intel i7-9700k processor and an Nvidia GTX 1070 GPU card. Experimental results from 25 different tests using the Mandelbrot Set generation, the Marching Squares algorithm, and the Bitonic Sorting algorithm are analyzed. According to the experimental results, CUDA performs better than OpenCL (up to 7.34x speedup). However, in most cases, OpenCL performs at an acceptable rate (CUDA speedup is less than 2x).
引用
收藏
页码:238 / 242
页数:5
相关论文
共 19 条
[1]  
[Anonymous], 2020, GITHUB GRAM21 GPUSOR
[2]  
[Anonymous], 2020, OPENCL VS CUDA
[3]  
[Anonymous], 2020, CLCREATECONTEXT
[4]  
[Anonymous], 2020, BITONIC SORT CUDA
[5]  
[Anonymous], 2020, BITONIC SORTER
[6]  
[Anonymous], 2020, GITHUB BENHILLER CUD
[7]  
[Anonymous], 2019, NVIDIA DEV DOC
[8]  
[Anonymous], 2017, OPENCL VS CUDA WHICH
[9]  
[Anonymous], 2020, KHRON MEMB
[10]  
[Anonymous], 2020, CUDA ZONE NVIDIA DEV