Changes between Version 46 and Version 47 of OpenMPTransformation
- Timestamp:
- 06/10/14 15:24:21 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenMPTransformation
v46 v47 78 78 * `void $omp_read(void *result, $omp_ref ref)` 79 79 * called by a thread to read a shared object pointed to by `ref`. The result of the read is stored in the memory unit pointed to by `result`. 80 * `void $omp_write($ shared_ref ref, void *value)`80 * `void $omp_write($omp_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)`82 * `void $omp_apply_assoc($omp_ref ref, $operator op, void *value)` 83 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`. 84 84 * `void $omp_flush($omp_shared shared)`
