User Tools

Site Tools


matlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
matlab [2022/06/05 15:28]
root
matlab [2022/06/05 16:21]
root
Line 13: Line 13:
 ==GPU computing== ==GPU computing==
  
-Matlab in recent years has recently added a number of modern features such as GPU support, big data analysis and machine learning.   A simple benchmark follows for CPU vs GPU code.+Matlab in recent years has recently added a number of modern features such as GPU support, big data analysis and machine learning.   A simple benchmark follows for CPU vs GPU code to find the eigenvalues of a fairly large matrix.
  
 <code> <code>
Line 22: Line 22:
 b = eig(a); b = eig(a);
 toc; toc;
-quit() 
 $ matlab -nodesktop -nosplash < eigcpu.m $ matlab -nodesktop -nosplash < eigcpu.m
 </code> </code>
Line 37: Line 36:
 b = eig(a); b = eig(a);
 toc; toc;
-quit() 
 $ matlab -nodesktop -nosplash < eiggpu.m $ matlab -nodesktop -nosplash < eiggpu.m
 </code> </code>
Line 50: Line 48:
  
 [[https://research.unsw.edu.au/document/UNSW_Parallel%20Computing%20with%20MATLAB.pdf]] [[https://research.unsw.edu.au/document/UNSW_Parallel%20Computing%20with%20MATLAB.pdf]]
 +
 +[[https://www.hpc.iastate.edu/guides/using-matlab-parallel-server]]
matlab.txt · Last modified: 2022/06/05 19:44 by root