Info
This question is closed. Reopen it to edit or answer.
I am trying to implement parfor loop in my sequential code. I have a for loop inside the parfor loop. The sequential code is working fine but the parallel code is missing some iterations of the inner for loop. Can some one please help? Thank you.
1 view (last 30 days)
Show older comments
The structure of my code is as following:
parfor i=1:n
.
.
for j=1:m
.
.
end
end
The code is missing some iterations of j.
1 Comment
Edric Ellis
on 20 Apr 2015
This is definitely not expected. Could you please post reproduction steps that demonstrate the problem?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!