In parallel processing, are multiple workers used for anything else than parfor loops?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When using the parallel computing toolbox, are parfor loops required for parallel processing? I plan to use parfor loops, but the most expensive part of my program is SVD, which is performed during each iteration of a loop. Will MATLAB break up the SVD into multiple workers?
0 comentarios
Respuesta aceptada
Shashank Prasanna
el 2 de Ag. de 2013
Editada: Shashank Prasanna
el 2 de Ag. de 2013
Using SVD under a parfor will likely slow the performance of SVD. SVD is inherently multithreaded and make use of multiply cores calling it as it is. Here are a list of function that are inherently multithreaded:
To comment further on how we could speed up your code, we may need to see more of what you have within the parfor loop.
5 comentarios
Shashank Prasanna
el 4 de Ag. de 2013
Editada: Shashank Prasanna
el 4 de Ag. de 2013
SVD is already multithreaded. It does make use of multiple cores.
Here is the difference between multicore (like svd) and multiprocessor (using PCT):
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!