Page 1 of 1

Given the loop and iteration space diagram, which do you think loop can be parallelized with OpenMP? Assume that Al [0]

Posted: Sun May 15, 2022 1:07 pm
by answerhappygod
Given The Loop And Iteration Space Diagram Which Do You Think Loop Can Be Parallelized With Openmp Assume That Al 0 1
Given The Loop And Iteration Space Diagram Which Do You Think Loop Can Be Parallelized With Openmp Assume That Al 0 1 (63.02 KiB) Viewed 70 times
Given the loop and iteration space diagram, which do you think loop can be parallelized with OpenMP? Assume that Al [0] has been initialized. for (i = 1; i <= n; i++) for(j = 1; i <= n; j++) alul - ali U-11: j=3 0- ott ++++ 1 = 2 I 1 2. Hook Oj loop both i and j loops neither i orj loop