Changes between Version 35 and Version 36 of Next-GenOpenMPTransformation
- Timestamp:
- 10/18/19 10:04:27 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Next-GenOpenMPTransformation
v35 v36 544 544 #pragma omp sections 545 545 #pragma omp section 546 S0 546 S0 // section 1 547 547 #pragma omp section 548 S1 548 S1 // section 2 549 549 ... 550 550 }}} … … 554 554 {{{ 555 555 { 556 $domain(1) my_secs = $omp_arrive_sections(team, SEC_LOC++, numSections);556 $domain(1) my_secs = $omp_arrive_sections(team, section_id++, numSections); 557 557 558 558 $for (int i : my_secs) { 559 switch (i) {560 case 0:{559 560 if(section_id == 1) { 561 561 translate(S0); 562 break; 563 } 564 case 1: { 565 translate(S1); 566 break; 562 } 563 if(section_id == 2) { 564 translate(S0); 567 565 } 568 566 ...
