The use of CPU and GPU for calculations in Matlab

Jarosław Woźniak

jaroslaw.wozniak@pollub.edu.pl
Lublin University of Technology (Poland)

Abstract

The article presents selected solutions using CPU processors and GPUs for calculations in the Matlab environment. Various methods of performing calculations on the CPU as well as on the GPU were compared. Differences, disadvantages, advantages and effects of using selected calculation methods have been indicated.


Keywords:

CPU; GPU; Matlab

[1] MATLAB Product Description - MathWorks Documentation, https://www.mathworks.com/help/matlab/learn_matlab/product-description.html [01.08.2018]
[2] K. Banasiak, Algorytmizacja i programowanie w MATLABIE, Wydawnictwo BTC, 2017.
[3] Parallel Computing Toolbox - Documentation, https://www.mathworks.com/help/distcomp/ [01.08.2018].
[4] J. W. Sut, Y. Kim, MATLAB and Parallel Computing Toolbox, 2014, 99-125.
[5] Obliczenia równoległe w środowisku Matlab - MathWorks Video and Webinars, https://www.mathworks.com/videos/parallel-computing-in-matlab-116769.html [01.08.2018].
[6] B. Mrozek, „Obliczenia równoległe w Matlab-ie,” Pomiary Automatyka Robotyka, tom R. 15, nr 2, pp. 285-294, 2011.
[7] I. Azzini, R. Muresano, M. Ratto, Dragonfly: A multi-platform parallel toolbox for MATLAB/Octave, 2018, 21-42.
[8] What is GPU computing?, https://www.boston.co.uk/info/nvidiakepler/what-is-gpu-computing.aspx [01.08.2018].
[9] M. Sourouri, J. Langguth, F. Spiga, S. B. Baden. X. Cai, CPU+GPU Programming of Stencil Computations for Resource-Efficient Use of GPU Clusters, 2015, 17-26.
[10] Using parfor-loop - MathWorks Documentation, https://www.mathworks.com/help/distcomp/interactively-run-aloop-in-parallel.html#responsive_offcanvas [01.08.2018].
[11] What Is Parallel Computing?, https://www.mathworks.com/help/distcomp/what-is-parallel-computing.html [01.08.2018].
[12] Using FFT on the GPU for Spectral Analysis MathWorks –Documentation, https://www.mathworks.com/help/distcomp/examples/using-fft-on-the-gpu-for-spectral-analysis.html [01.08.2018].
[13] H. Anzt, M. Gates, J. Dongarra, M. Kreutzer, G. Welling, M. Kohler, Preconditioned Krylov solvers on GPUs, 2017, 32-44.

Published
2019-03-30

Cited by

Woźniak, J. (2019). The use of CPU and GPU for calculations in Matlab . Journal of Computer Sciences Institute, 10, 32–35. https://doi.org/10.35784/jcsi.191

Authors

Jarosław Woźniak 
jaroslaw.wozniak@pollub.edu.pl
Lublin University of Technology Poland

Statistics

Abstract views: 184
PDF downloads: 780