Changes between Version 40 and Version 41 of OpenMPTransformation
- Timestamp:
- 06/10/14 14:12:10 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenMPTransformation
v40 v41 80 80 * `void $omp_write($shared_ref ref, void *value)` 81 81 * called by a thread to write to the shared object pointed to by `ref`. The value to be written is taken from the memory unit pointed to by `value`. 82 * `void $omp_apply_assoc($shared_ref ref, $operator op, void *value)` 83 * Reads the reference, applies the associative operator specified by `op` to the read value and the value pointed to by `value`, and writes the result back to `ref`. This happens in one atomic step. Example: you can use this to add some value to a shared variable, using `CIVL_SUM` for `op`. 82 84 * `void $omp_flush($omp_shared shared)` 83 85 * performs an OpenMP flush operation on the shared object
