reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/runtime/src/kmp_tasking.cpp
 2215     for (int i = 0; i < num; ++i) {
 2215     for (int i = 0; i < num; ++i) {
 2216       if (!arr[i].flags.lazy_priv) {
 2217         if (data == arr[i].reduce_shar ||
 2218             (data >= arr[i].reduce_priv && data < arr[i].reduce_pend))
 2218             (data >= arr[i].reduce_priv && data < arr[i].reduce_pend))
 2219           return (char *)(arr[i].reduce_priv) + tid * arr[i].reduce_size;
 2219           return (char *)(arr[i].reduce_priv) + tid * arr[i].reduce_size;
 2222         void **p_priv = (void **)(arr[i].reduce_priv);
 2223         if (data == arr[i].reduce_shar)
 2233           p_priv[tid] = __kmp_allocate(arr[i].reduce_size);
 2234           if (arr[i].reduce_init != NULL) {
 2235             if (arr[i].reduce_orig != NULL) { // new interface
 2236               ((void (*)(void *, void *))arr[i].reduce_init)(
 2237                   p_priv[tid], arr[i].reduce_orig);
 2239               ((void (*)(void *))arr[i].reduce_init)(p_priv[tid]);