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

References

projects/openmp/runtime/src/kmp_dispatch.cpp
  293       tc = ub - lb + 1;
  295       tc = 0; // zero-trip
  301       tc = (UT)(lb - ub) / (-st) + 1;
  303       tc = 0; // zero-trip
  309       tc = (UT)(ub - lb) / st + 1;
  311       tc = 0; // zero-trip
  324   pr->u.p.tc = tc;
  349     ntc = (tc % chunk ? 1 : 0) + tc / chunk;
  349     ntc = (tc % chunk ? 1 : 0) + tc / chunk;
  403       if (tc < nproc) {
  404         if (id < tc) {
  407           pr->u.p.parm1 = (id == tc - 1); /* parm1 stores *plastiter */
  414         T small_chunk = tc / nproc;
  415         T extras = tc % nproc;
  421       if (tc > 0) {
  423         limit = tc - 1;
  467       pr->u.p.parm1 = ((tc + nth - 1) / nth + chunk - 1) & ~(chunk - 1);
  469       pr->u.p.parm1 = tc;
  481       if ((2L * chunk + 1) * nproc >= tc) {
  500       pr->u.p.parm1 = tc;
  510       if ((2L * chunk + 1) * nproc >= tc) {
  531         long double target = ((long double)chunk * 2 + 1) * nproc / tc;
  609         pr->u.p.count = tc - __kmp_dispatch_guided_remaining(
  610                                  tc, GUIDED_ANALYTICAL_WORKAROUND, cross) -
  623       pr->u.p.parm1 = tc;
  632     pr->u.p.parm1 = (nproc > 1) ? (tc + nproc - 1) / nproc : tc;
  632     pr->u.p.parm1 = (nproc > 1) ? (tc + nproc - 1) / nproc : tc;
  654     parm2 = (tc / (2 * nproc));
  670     parm3 = (2 * tc + parm3 - 1) / parm3;