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

References

projects/openmp/runtime/src/kmp_taskdeps.cpp
  426   for (i = 0; i < ndeps; i++) {
  426   for (i = 0; i < ndeps; i++) {
  426   for (i = 0; i < ndeps; i++) {
  427     if (dep_list[i].base_addr != 0) {
  428       for (int j = i + 1; j < ndeps; j++) {
  429         if (dep_list[i].base_addr == dep_list[j].base_addr) {
  430           dep_list[i].flags.in |= dep_list[j].flags.in;
  431           dep_list[i].flags.out |=
  433                (dep_list[i].flags.in && dep_list[j].flags.mtx) ||
  434                (dep_list[i].flags.mtx && dep_list[j].flags.in));
  435           dep_list[i].flags.mtx =
  436               dep_list[i].flags.mtx | dep_list[j].flags.mtx &&
  437               !dep_list[i].flags.out;
  441       if (dep_list[i].flags.mtx) {
  446           dep_list[i].flags.in = 1; // downgrade mutexinoutset to inout
  447           dep_list[i].flags.out = 1;
  448           dep_list[i].flags.mtx = 0;