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

Declarations

projects/openmp/runtime/src/kmp_debug.h
   34 extern int __kmp_debug_assert(char const *expr, char const *file, int line);

References

projects/openmp/runtime/src/kmp.h
  716     KMP_ASSERT(0);
projects/openmp/runtime/src/kmp_affinity.cpp
   98   KMP_ASSERT(buf);
   99   KMP_ASSERT(buf_len >= 40);
  100   KMP_ASSERT(mask);
  108     KMP_ASSERT(scan <= end);
  154   KMP_ASSERT(scan <= end);
  167   KMP_ASSERT(buf);
  168   KMP_ASSERT(mask);
  873     KMP_ASSERT(__kmp_affinity_type == affinity_none);
 1087     KMP_ASSERT(__kmp_affinity_type == affinity_none);
 1155   KMP_ASSERT(oldMask != NULL);
 1263   KMP_ASSERT(nApics > 0);
 1440   KMP_ASSERT(depth > 0);
 1598     KMP_ASSERT(__kmp_affinity_type == affinity_none);
 1679   KMP_ASSERT(nApics > 0);
 2232         KMP_ASSERT(nodeIdIndex + level <= maxIndex);
 2284       KMP_ASSERT(num_avail <= num_records);
 2314   KMP_ASSERT(num_avail > 0);
 2315   KMP_ASSERT(num_avail <= num_records);
 2596     KMP_ASSERT(totals[index] >= totals[index + 1]);
 2608   KMP_ASSERT(depth > 0);
 2696   KMP_ASSERT(numAddrs > 0);
 2716   KMP_ASSERT(__kmp_affinity_gran_levels >= 0);
 2860       KMP_ASSERT2((*next >= '0') && (*next <= '9'), "bad proclist");
 2863       KMP_ASSERT2(num >= 0, "bad explicit proc list");
 2895         KMP_ASSERT2((*next >= '0') && (*next <= '9'), "bad explicit proc list");
 2899         KMP_ASSERT2(num >= 0, "bad explicit proc list");
 2927     KMP_ASSERT2((*next >= '0') && (*next <= '9'), "bad explicit proc list");
 2930     KMP_ASSERT2(start >= 0, "bad explicit proc list");
 2949     KMP_ASSERT2((*next >= '0') && (*next <= '9'), "bad explicit proc list");
 2952     KMP_ASSERT2(end >= 0, "bad explicit proc list");
 2969       KMP_ASSERT2((*next >= '0') && (*next <= '9'), "bad explicit proc list");
 2972       KMP_ASSERT2(stride >= 0, "bad explicit proc list");
 2977     KMP_ASSERT2(stride != 0, "bad explicit proc list");
 2979       KMP_ASSERT2(start <= end, "bad explicit proc list");
 2981       KMP_ASSERT2(start >= end, "bad explicit proc list");
 2983     KMP_ASSERT2((end - start) / stride <= 65536, "bad explicit proc list");
 3053     KMP_ASSERT2((**scan >= '0') && (**scan <= '9'), "bad explicit places list");
 3057     KMP_ASSERT(start >= 0);
 3080     KMP_ASSERT2(**scan == ':', "bad explicit places list");
 3085     KMP_ASSERT2((**scan >= '0') && (**scan <= '9'), "bad explicit places list");
 3089     KMP_ASSERT(count >= 0);
 3116     KMP_ASSERT2(**scan == ':', "bad explicit places list");
 3135     KMP_ASSERT2((**scan >= '0') && (**scan <= '9'), "bad explicit places list");
 3139     KMP_ASSERT(stride >= 0);
 3168     KMP_ASSERT2(0, "bad explicit places list");
 3182     KMP_ASSERT2(**scan == '}', "bad explicit places list");
 3192     KMP_ASSERT(num >= 0);
 3205     KMP_ASSERT2(0, "bad explicit places list");
 3252     KMP_ASSERT2(*scan == ':', "bad explicit places list");
 3257     KMP_ASSERT2((*scan >= '0') && (*scan <= '9'), "bad explicit places list");
 3261     KMP_ASSERT(count >= 0);
 3269       KMP_ASSERT2(*scan == ':', "bad explicit places list");
 3288       KMP_ASSERT2((*scan >= '0') && (*scan <= '9'), "bad explicit places list");
 3340     KMP_ASSERT2(0, "bad explicit places list");
 4102   KMP_ASSERT(__kmp_affin_fullMask != NULL);
 4103   KMP_ASSERT(__kmp_affinity_type == affinity_none);
 4137     KMP_ASSERT(__kmp_affin_fullMask != NULL);
 4229         KMP_EXIT_AFF_NONE;
 4247           KMP_EXIT_AFF_NONE;
 4275           KMP_EXIT_AFF_NONE;
 4311         KMP_EXIT_AFF_NONE;
 4313       KMP_ASSERT(depth > 0);
 4314       KMP_ASSERT(address2os != NULL);
 4344       KMP_EXIT_AFF_NONE;
 4347       KMP_ASSERT(msg_id != kmp_i18n_null);
 4357       KMP_EXIT_AFF_NONE;
 4360       KMP_ASSERT(msg_id != kmp_i18n_null);
 4394       KMP_ASSERT(msg_id != kmp_i18n_null);
 4403       KMP_ASSERT(depth == 0);
 4404       KMP_EXIT_AFF_NONE;
 4432       KMP_EXIT_AFF_NONE;
 4435     KMP_ASSERT(depth > 0);
 4436     KMP_ASSERT(address2os != NULL);
 4630         KMP_ASSERT(KMP_CPU_ISSET(osId, src));
 4641     KMP_ASSERT2(0, "Unexpected affinity setting");
 4660     KMP_ASSERT(disabled);
 4731       KMP_ASSERT(__kmp_affin_fullMask != NULL);
 4747       KMP_ASSERT(__kmp_affin_fullMask != NULL);
 4816   KMP_ASSERT(th->th.th_new_place >= 0);
 4817   KMP_ASSERT((unsigned)th->th.th_new_place <= __kmp_affinity_num_masks);
 4819     KMP_ASSERT((th->th.th_new_place >= th->th.th_first_place) &&
 4822     KMP_ASSERT((th->th.th_new_place <= th->th.th_first_place) ||
projects/openmp/runtime/src/kmp_affinity.h
  300       KMP_ASSERT2(KMP_AFFINITY_CAPABLE(),
  319       KMP_ASSERT2(KMP_AFFINITY_CAPABLE(),
projects/openmp/runtime/src/kmp_alloc.cpp
 1158     KMP_ASSERT(*((void **)ptr - 1));
 1180     KMP_ASSERT(*((void **)ptr - 1));
 1357       KMP_ASSERT(IS_POWER_OF_TWO(al->alignment));
 1375       KMP_ASSERT2(0, "Unexpected allocator trait");
 1383     KMP_ASSERT(al->fb_data != NULL);
 1484           KMP_ASSERT(0); // abort fallback requested
 1486           KMP_ASSERT(al != al->fb_data);
 1498             KMP_ASSERT(0); // abort fallback requested
 1500             KMP_ASSERT(al != al->fb_data);
 1514           KMP_ASSERT(0); // abort fallback requested
 1516           KMP_ASSERT(al != al->fb_data);
 1540         KMP_ASSERT(0); // abort fallback requested
 1542         KMP_ASSERT(al != al->fb_data);
 1550         KMP_ASSERT(0); // abort fallback requested
 1557       KMP_ASSERT(0); // abort fallback requested
 1765   KMP_ASSERT(ptr != NULL);
 1914   KMP_ASSERT(ptr != NULL);
projects/openmp/runtime/src/kmp_barrier.cpp
 1387         KMP_ASSERT(__kmp_barrier_gather_branch_bits[bt]);
 1399         KMP_ASSERT(__kmp_barrier_gather_branch_bits[bt]);
 1498           KMP_ASSERT(__kmp_barrier_release_branch_bits[bt]);
 1509           KMP_ASSERT(__kmp_barrier_release_branch_bits[bt]);
 1628         KMP_ASSERT(__kmp_barrier_release_branch_bits[bt]);
 1639         KMP_ASSERT(__kmp_barrier_release_branch_bits[bt]);
 1774     KMP_ASSERT(__kmp_barrier_gather_branch_bits[bs_forkjoin_barrier]);
 1785     KMP_ASSERT(__kmp_barrier_gather_branch_bits[bs_forkjoin_barrier]);
 1964     KMP_ASSERT(__kmp_barrier_release_branch_bits[bs_forkjoin_barrier]);
 1975     KMP_ASSERT(__kmp_barrier_release_branch_bits[bs_forkjoin_barrier]);
projects/openmp/runtime/src/kmp_cancel.cpp
  110           KMP_ASSERT(0 /* false */);
  115       KMP_ASSERT(0 /* false */);
  182           KMP_ASSERT(0 /* false */);
  222       KMP_ASSERT(0 /* false */);
  280       KMP_ASSERT(0 /* false */);
  286       KMP_ASSERT(0 /* false */);
projects/openmp/runtime/src/kmp_csupport.cpp
  525   KMP_ASSERT(serial_team->t.t_serialized);
  607     KMP_ASSERT(this_thr->th.th_current_task->td_flags.executing == 0);
 1322   KMP_ASSERT(ilock);
 1524     KMP_ASSERT(lck != NULL);
 1546     KMP_ASSERT(ilk != NULL);
 3509     KMP_ASSERT(0); // "unexpected method"
 3563     KMP_ASSERT(0); // "unexpected method"
 3687     KMP_ASSERT(0); // "unexpected method"
 3806     KMP_ASSERT(0); // "unexpected method"
projects/openmp/runtime/src/kmp_dispatch.cpp
  279   KMP_ASSERT2((kmp_sch_lower < schedule && schedule < kmp_sch_upper),
  596         KMP_ASSERT(cross && __kmp_pow<UT>(x, cross - 1) > target &&
 1243           KMP_ASSERT(lck != NULL);
 1715         KMP_ASSERT(init <= limit);
 2074             KMP_ASSERT(lck != NULL);
projects/openmp/runtime/src/kmp_error.cpp
  261       KMP_ASSERT(ct == ct_ordered_in_parallel);
  338   KMP_ASSERT(gtid == __kmp_get_gtid());
projects/openmp/runtime/src/kmp_gsupport.cpp
 1178       KMP_ASSERT(depend);
 1268     KMP_ASSERT(lb == ub);
 1293     KMP_ASSERT(lb == ub);
 1683   KMP_ASSERT((size_t)arg_size >= 2 * sizeof(T));
 1684   KMP_ASSERT(arg_align > 0);
projects/openmp/runtime/src/kmp_lock.cpp
   55     KMP_ASSERT(z == 2);
   58   KMP_ASSERT(offsetof(kmp_base_queuing_lock, tail_id) % 8 == 0);
 1231         KMP_ASSERT(tail_thr != NULL);
 1277   KMP_ASSERT2(0, "should not get here");
 1498   KMP_ASSERT2(0, "should not get here");
 2035         KMP_ASSERT2(0, "should not get here");
projects/openmp/runtime/src/kmp_runtime.cpp
  839     KMP_ASSERT(0);
  920       KMP_ASSERT(new_nthreads >= 1);
 1218       KMP_ASSERT(new_team);
 1255     KMP_ASSERT(this_thr->th.th_current_task->td_flags.executing == 1);
 1641         KMP_ASSERT2(0, "cannot invoke microtask for MASTER thread");
 1932         KMP_ASSERT2(call_context < fork_context_last,
 2232     KMP_ASSERT2(0, "cannot invoke microtask for MASTER thread");
 3150   KMP_ASSERT(!root->r.r_begin);
 3638   KMP_ASSERT(gtid < __kmp_threads_capacity);
 3721   KMP_ASSERT(root_thread->th.th_serial_team);
 3955   KMP_ASSERT(KMP_UBER_GTID(gtid));
 3956   KMP_ASSERT(root == __kmp_threads[gtid]->th.th_root);
 3957   KMP_ASSERT(root->r.r_active == FALSE);
 4133     KMP_ASSERT(dispatch);
 4220     KMP_ASSERT(!new_thr->th.th_team);
 4261   KMP_ASSERT(__kmp_nth == __kmp_all_nth);
 4262   KMP_ASSERT(__kmp_all_nth < __kmp_threads_capacity);
 4320   KMP_ASSERT(serial_team);
 5729         KMP_ASSERT(rc);
 6700   KMP_ASSERT(KMP_UBER_GTID(gtid));
 6701   KMP_ASSERT(KMP_INITIAL_GTID(gtid));
 6800   KMP_ASSERT(__kmp_xproc > 0);
 6920   KMP_ASSERT(KMP_UBER_GTID(gtid));
 7252   KMP_ASSERT(KMP_MASTER_GTID(gtid));
 7273   KMP_ASSERT(this_thr->th.th_team == team);
 7291   KMP_ASSERT(KMP_MASTER_GTID(gtid));
 7344   KMP_ASSERT(this_thr->th.th_team == team);
 7573   KMP_ASSERT(KMP_UBER_GTID(gtid));
 7954   KMP_ASSERT(format_index <= FORMAT_SIZE);
 8189       KMP_ASSERT(lck); // lck should be != 0
 8213       KMP_ASSERT(0); // "unsupported method specified"
projects/openmp/runtime/src/kmp_sched.cpp
  374     KMP_ASSERT2(0, "__kmpc_for_static_init: unknown scheduling type");
  636       KMP_ASSERT2(0,
projects/openmp/runtime/src/kmp_settings.cpp
  113   KMP_ASSERT(token != NULL);
  114   KMP_ASSERT(buf != NULL);
  115   KMP_ASSERT(end != NULL);
 1854       KMP_ASSERT(num >= 0);
 1879         KMP_ASSERT(num >= 0);
 1903     KMP_ASSERT(start >= 0);
 1928     KMP_ASSERT(end >= 0);
 1951       KMP_ASSERT(stride >= 0);
 2025   KMP_ASSERT(value != NULL);
 2199         KMP_ASSERT(n >= 0);
 2246       KMP_ASSERT(n >= 0);
 2288       KMP_ASSERT(*out_proclist != NULL);
 2361   default: { KMP_ASSERT(0); }
 2557     KMP_ASSERT(start >= 0);
 2584     KMP_ASSERT(count >= 0);
 2625     KMP_ASSERT(stride >= 0);
 2667     KMP_ASSERT(proc >= 0);
 2712     KMP_ASSERT(count >= 0);
 2753     KMP_ASSERT(stride >= 0);
 2865   KMP_ASSERT(count >= 0);
 3092     KMP_ASSERT(num >= 0);
 3189         KMP_ASSERT(num >= 0);
 3300     KMP_ASSERT(num > 0);
projects/openmp/runtime/src/kmp_taskdeps.cpp
  548     KMP_ASSERT(new_taskdata->ompt_task_info.deps != NULL);
projects/openmp/runtime/src/kmp_taskdeps.h
   29     KMP_ASSERT(node->dn.nrefs == 0);
projects/openmp/runtime/src/kmp_tasking.cpp
  920     KMP_ASSERT(destr_thunk);
 2091   KMP_ASSERT(tg != NULL);
 2092   KMP_ASSERT(data != NULL);
 2093   KMP_ASSERT(num > 0);
 2107     KMP_ASSERT(data[i].reduce_comb != NULL); // combiner is mandatory
 2208   KMP_ASSERT(tg != NULL);
 2213   KMP_ASSERT(data != NULL);
 2250   KMP_ASSERT2(0, "Unknown task reduction item");
 4474     KMP_ASSERT2(0, "unknown scheduling of taskloop");
projects/openmp/runtime/src/kmp_threadprivate.cpp
  513   KMP_ASSERT(cctor == 0);
  757   KMP_ASSERT(cctor == 0);
projects/openmp/runtime/src/z_Linux_util.cpp
  108   KMP_ASSERT2(KMP_AFFINITY_CAPABLE(),
 2016   KMP_ASSERT(file != NULL);
 2028     KMP_ASSERT(rc == 3 &&