Using parfor on a single quad-core?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi all,
Does anyone have an idea whether its advantageous to use a parforloop on a single quadcore? I have some code that calculates in each iteration a set of integrals (a few with infinite boundaries) which can take up some time. However, matlab uses already functions that are multithreaded on their own. I tested it quickly, but it was slower dan ever (probably I still have to adapt my code a little bit to optimize it). However, I'd like to have an idea whether I should put some work in it or not. To give you an idea of the computation time, some integrals take more than one minute to calculate.
Thanks!
Bart
1 comentario
Matt J
el 19 de Dic. de 2012
It would depend a lot on the processing being done and how much of your computation is actually just data transfer to the parallel workers.
Respuestas (0)
Ver también
Categorías
Más información sobre Parallel for-Loops (parfor) en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!