When using parallel computing toolbox can I just replace all my "for" loops with "parfor" ?
이전 댓글 표시
I'm running an intensive calculation and want to minimise my computation time.
답변 (1개)
Walter Roberson
2017년 7월 10일
2 개 추천
No, there are a lot of restrictions on what can be inside a parfor
댓글 수: 5
matlabkid602
2017년 7월 10일
Walter Roberson
2017년 7월 10일
If you have a NVIDIA graphics GPU, you can probably only get decent performance for single precision, as double precision on those is either 1/32 or 1/24 of the single precision performance until you get to relatively high end.
matlabkid602
2017년 7월 11일
Walter Roberson
2017년 7월 11일
The 1080ti has FP64 performance of about 332, which is 1/32 of the FP32 rate; https://en.wikipedia.org/wiki/GeForce_10_series . That is not bad compared to the other graphics cards, but it is far far below the FP64 performance available in some of the Tesla series; https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units#Tesla or the Quadro GP100 (about 5300)
matlabkid602
2017년 7월 12일
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!