Question: Consider this example of PRIVATE and FIRSTPRIVATEvariables: A = 1 , B 1 , B 1 , = 1 , C C = 1 #pragma
Consider this example of PRIVATE and FIRSTPRIVATEvariables: A B B C C #pragma omp parallel privatefirstpriva privateB firstprivateCAre ABC local to each thread or shared inside the parallel region?What are their initial values inside and values after the parallel region?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
