Changes between Version 51 and Version 52 of OpenMPTransformation
- Timestamp:
- 08/12/14 17:40:16 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenMPTransformation
v51 v52 143 143 * `void $omp_barrier($omp_team team)` 144 144 * performs a barrier only. Note however that usually (always?) a barrier is accompanied by a flush-all, so `$omp_barrier_and_flush` should be used instead. 145 145 146 * `void $omp_barrier_and_flush($omp_team team)` 146 147 * combines a barrier and a flush on all shared objects owned by the team. Implicit in many OpenMP worksharing constructs. 148 147 149 * `$domain $omp_arrive_loop($omp_team, $domain loop_dom)` 148 150 * called by a thread when it reaches an omp for loop, this function returns the subset of the loop domain specifying the iterations that this thread will execute. The dimension of the domain returned equals the dimension of the given domain `loop_dom`. 151 149 152 * `$domain(1) $omp_arrive_sections($omp_team, int numSections)` 150 153 * called by a thread when it reaches an omp sections construct, this function returns the subset of the integers 0..numSections-1 specifying the indexes of the sections that this thread will execute. The sections are numbered from 0 in increasing order. 154 151 155 * `int $omp_arrive_single($omp_team team)` 152 156 * called by a thread when it reaches on omp single construct, returns the thread ID of the thread that will execute the single construct. … … 172 176 173 177 interepration of status value: 174 '0=EMPTY': local is empty 175 '1=FULL': local is occupied, no writes to it have been made 176 '2=MODIFIED': local is occupied, writes have been made to it 178 `0=EMPTY`: local is empty 179 180 `1=FULL`: local is occupied, no writes to it have been made 181 182 `2=MODIFIED`: local is occupied, writes have been made to it 177 183 178 184 Initially: `local=shared`, `status=FULL` … … 283 289 float tmp = 5.2; 284 290 285 $omp_write( $omp_identity_ref(x_shared), &tmp);291 $omp_write(x_shared, &(x_shared->local), &tmp); 286 292 } 287 293 _y = 3;
