| 132 | | * `void $omp_apply_assoc($omp_shared shared, void *local, $operation op, void *value)` |
| 133 | | * applies the associative operator specified by op to the local value and the corresponding shared value, and writes the result back to the shared object. This happens in one atomic step. Example: you can use this to add some value to a shared variable, using CIVL_SUM for op. assumes local is a pointer to a scalar. |
| | 132 | * `void $omp_apply_assoc($omp_shared shared, $operation op, void *local)` |
| | 133 | * applies the associative operator specified by op to the local copy and the corresponding shared copy, and writes the result back to the shared copy. This happens in one atomic step. Example: you can use this to add some value to a shared variable, using CIVL_SUM for op. assumes local is a pointer to a scalar. |