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

References

projects/openmp/runtime/src/kmp_tasking.cpp
 2103   for (int i = 0; i < num; ++i) {
 2103   for (int i = 0; i < num; ++i) {
 2104     size_t size = data[i].reduce_size - 1;
 2107     KMP_ASSERT(data[i].reduce_comb != NULL); // combiner is mandatory
 2108     arr[i].reduce_shar = data[i].reduce_shar;
 2108     arr[i].reduce_shar = data[i].reduce_shar;
 2109     arr[i].reduce_size = size;
 2110     arr[i].flags = data[i].flags;
 2110     arr[i].flags = data[i].flags;
 2111     arr[i].reduce_comb = data[i].reduce_comb;
 2111     arr[i].reduce_comb = data[i].reduce_comb;
 2112     arr[i].reduce_init = data[i].reduce_init;
 2112     arr[i].reduce_init = data[i].reduce_init;
 2113     arr[i].reduce_fini = data[i].reduce_fini;
 2113     arr[i].reduce_fini = data[i].reduce_fini;
 2114     __kmp_assign_orig<T>(arr[i], data[i]);
 2114     __kmp_assign_orig<T>(arr[i], data[i]);
 2115     if (!arr[i].flags.lazy_priv) {
 2117       arr[i].reduce_priv = __kmp_allocate(nth * size);
 2118       arr[i].reduce_pend = (char *)(arr[i].reduce_priv) + nth * size;
 2118       arr[i].reduce_pend = (char *)(arr[i].reduce_priv) + nth * size;
 2119       if (arr[i].reduce_init != NULL) {
 2122           __kmp_call_init<T>(arr[i], j * size);
 2129       arr[i].reduce_priv = __kmp_allocate(nth * sizeof(void *));