Analysis of GPU Parallel Computing based on Matlab

Mingzhe Wang,Bo Wang,Qiu He,Xiuxiu Liu,Kunshuai Zhu
DOI: https://doi.org/10.48550/arXiv.1505.06561
2015-05-25
Abstract:Matlab is very widely used in scientific computing, but Matlab computational efficiency is lower than C language program. In order to improve the computing speed, some toolbox can use GPU to accelerate the computation. This paper describes GPU working principle, our experiments and results analysis of parallel computing by using GPU based on Matlab. Experimental results show that for parallel operations, GPU computing speed is faster than CPU, for the logical instructions, GPU computing speed is slower than CPU.
Distributed, Parallel, and Cluster Computing
What problem does this paper attempt to address?
The problem that this paper attempts to solve is how to use GPU to accelerate the computing speed of Matlab in scientific computing. Specifically, the paper explores using the Parallel Computing Toolbox in Matlab to perform parallel computing with GPU in order to improve computing efficiency, especially when dealing with highly parallel operations. Through a series of experiments, such as matrix multiplication, fast Fourier transform (FFT), quicksort, and Hamming code encoding and decoding simulations in the binary symmetric channel (BSC), the paper compares the performance differences between CPU and GPU in different computing tasks. The research results show that for highly parallel operations, the computing speed of GPU is significantly faster than that of CPU; while for logical instructions, the computing speed of GPU is slower than that of CPU. In addition, increasing the computing scale can further improve the efficiency of GPU.