Can I force a worker to use multicore when running batch?
조회 수: 1 (최근 30일)
이전 댓글 표시
Can I tell parpool workers to use multicore rather than singlecore?
In the case that my code runs under a parfor loop single core is obviously preferred. But in some cases I just run one iteration without a parfor loop and I want to let matlabs multicore support improve the speed of the operation.
This works as expected in my own environment where multicore is the default, but when I submit it as a job to a single worker, that worker operates without multicore support, just as if it was running it's share of a parfor loop.
In these cases I'd like the single background worker to enable multicore support, when a parfor isn't in use.
Is there a way to instruct the worker to use multicore operations?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!