Searched refs:KMP_DEBUG_ASSERT (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_cancel.cpp35 KMP_DEBUG_ASSERT(cncl_kind != cancel_noreq);
36 KMP_DEBUG_ASSERT(cncl_kind == cancel_parallel || cncl_kind == cancel_loop ||
39 KMP_DEBUG_ASSERT(__kmp_get_gtid() == gtid);
50 KMP_DEBUG_ASSERT(this_team);
85 KMP_DEBUG_ASSERT(task);
120 KMP_DEBUG_ASSERT(!__kmp_omp_cancellation);
143 KMP_DEBUG_ASSERT(cncl_kind != cancel_noreq);
144 KMP_DEBUG_ASSERT(cncl_kind == cancel_parallel || cncl_kind == cancel_loop ||
147 KMP_DEBUG_ASSERT(__kmp_get_gtid() == gtid);
158 KMP_DEBUG_ASSERT(this_tea
[all...]
H A Dkmp_alloc.cpp212 KMP_DEBUG_ASSERT(size > 0);
222 KMP_DEBUG_ASSERT((lo >= 0) && (lo < MAX_BGET_BINS));
258 KMP_DEBUG_ASSERT(data != 0);
300 KMP_DEBUG_ASSERT(b->bh.bb.bsize != 0);
301 KMP_DEBUG_ASSERT(((kmp_uintptr_t)TCR_PTR(b->bh.bb.bthr) & ~1) ==
303 KMP_DEBUG_ASSERT(b->ql.blink == 0);
321 KMP_DEBUG_ASSERT(b->bh.bb.bsize != 0);
322 KMP_DEBUG_ASSERT(((kmp_uintptr_t)TCR_PTR(b->bh.bb.bthr) & ~1) ==
368 KMP_DEBUG_ASSERT(((size_t)b) % SizeQuant == 0);
369 KMP_DEBUG_ASSERT(
[all...]
H A Dkmp_dispatch_hier.h74 KMP_DEBUG_ASSERT(current_size < kmp_hier_layer_e::LAYER_LAST);
344 KMP_DEBUG_ASSERT(active > 0);
355 KMP_DEBUG_ASSERT(tdata);
356 KMP_DEBUG_ASSERT(active > 0);
366 KMP_DEBUG_ASSERT(tdata);
367 KMP_DEBUG_ASSERT(active > 0);
368 KMP_DEBUG_ASSERT(id >= 0 && id < active);
485 KMP_DEBUG_ASSERT(th);
487 KMP_DEBUG_ASSERT(current);
488 KMP_DEBUG_ASSERT(hier_leve
[all...]
H A Dkmp_tasking.cpp58 KMP_DEBUG_ASSERT(stack_top != NULL);
59 KMP_DEBUG_ASSERT(entries > 0);
62 KMP_DEBUG_ASSERT(stack_top != &task_stack->ts_first_block.sb_block[0]);
77 KMP_DEBUG_ASSERT(tied_task != NULL);
78 KMP_DEBUG_ASSERT(tied_task->td_flags.tasktype == TASK_TIED);
85 KMP_DEBUG_ASSERT(stack_top == &task_stack->ts_first_block.sb_block[0]);
124 KMP_DEBUG_ASSERT(task_stack->ts_entries == TASK_STACK_EMPTY);
159 KMP_DEBUG_ASSERT(tied_task->td_flags.tasktype == TASK_TIED);
160 KMP_DEBUG_ASSERT(task_stack->ts_top != NULL);
220 KMP_DEBUG_ASSERT(task_stac
[all...]
H A Dkmp_runtime.cpp163 KMP_DEBUG_ASSERT(__kmp_gtid_get_specific() == i);
246 KMP_DEBUG_ASSERT(gtid >= 0);
780 KMP_DEBUG_ASSERT(__kmp_init_serial);
781 KMP_DEBUG_ASSERT(root && parent_team);
963 KMP_DEBUG_ASSERT(master_gtid == __kmp_get_gtid());
995 KMP_DEBUG_ASSERT(hot_teams[level].hot_team == team);
1021 KMP_DEBUG_ASSERT(thr);
1022 KMP_DEBUG_ASSERT(thr->th.th_team == team);
1038 KMP_DEBUG_ASSERT(balign[b].bb.wait_flag != KMP_BARRIER_PARENT_FLAG);
1151 KMP_DEBUG_ASSERT(serial_tea
3805 KMP_DEBUG_ASSERT(level < max_level); function
[all...]
H A Dkmp_str.cpp61 KMP_DEBUG_ASSERT((b)->str != NULL); \
62 KMP_DEBUG_ASSERT((b)->size >= sizeof((b)->bulk)); \
63 KMP_DEBUG_ASSERT((b)->size % sizeof((b)->bulk) == 0); \
64 KMP_DEBUG_ASSERT((unsigned)(b)->used < (b)->size); \
65 KMP_DEBUG_ASSERT( \
67 KMP_DEBUG_ASSERT((b)->size > sizeof((b)->bulk) ? (b)->str != &(b)->bulk[0] \
82 KMP_DEBUG_ASSERT(size >= 0);
105 KMP_DEBUG_ASSERT(buffer->size > 0);
106 KMP_DEBUG_ASSERT(buffer->size >= (unsigned)size);
136 KMP_DEBUG_ASSERT(st
[all...]
H A Dkmp_sched.cpp115 KMP_DEBUG_ASSERT(ompt_work_type);
120 KMP_DEBUG_ASSERT(plastiter && plower && pupper && pstride);
290 KMP_DEBUG_ASSERT(
314 KMP_DEBUG_ASSERT(__kmp_static == kmp_sch_static_greedy);
439 KMP_DEBUG_ASSERT(plastiter && plower && pupper && pupperDist && pstride);
479 KMP_DEBUG_ASSERT(th->th.th_teams_microtask); // we are in the teams construct
482 KMP_DEBUG_ASSERT(nteams == (kmp_uint32)team->t.t_parent->t.t_nproc);
498 KMP_DEBUG_ASSERT(
526 KMP_DEBUG_ASSERT(__kmp_static == kmp_sch_static_greedy);
567 KMP_DEBUG_ASSERT(trip_coun
[all...]
H A Dkmp_debug.h44 #define KMP_DEBUG_ASSERT(cond) KMP_ASSERT(cond) macro
54 #define KMP_DEBUG_ASSERT(cond) /* Nothing */ macro
61 #define KMP_DEBUG_ASSERT(cond) /* Nothing */ macro
H A Dkmp_lock.h628 KMP_DEBUG_ASSERT(__kmp_get_user_lock_owner_ != NULL);
663 KMP_DEBUG_ASSERT(__kmp_acquire_user_lock_with_checks_ != NULL); \
670 KMP_DEBUG_ASSERT(__kmp_acquire_user_lock_with_checks_ != NULL);
696 KMP_DEBUG_ASSERT(__kmp_test_user_lock_with_checks_ != NULL);
703 KMP_DEBUG_ASSERT(__kmp_test_user_lock_with_checks_ != NULL);
713 KMP_DEBUG_ASSERT(__kmp_release_user_lock_with_checks_ != NULL);
720 KMP_DEBUG_ASSERT(__kmp_init_user_lock_with_checks_ != NULL);
729 KMP_DEBUG_ASSERT(__kmp_destroy_user_lock_ != NULL);
736 KMP_DEBUG_ASSERT(__kmp_destroy_user_lock_with_checks_ != NULL);
774 KMP_DEBUG_ASSERT(__kmp_acquire_nested_user_lock_with_checks
[all...]
H A Dkmp_dispatch.cpp45 KMP_DEBUG_ASSERT(gtid_ref);
375 KMP_DEBUG_ASSERT(th->th.th_dispatch->th_steal_lock == NULL);
554 KMP_DEBUG_ASSERT(
855 KMP_DEBUG_ASSERT(th->th.th_dispatch ==
1011 KMP_DEBUG_ASSERT(pr);
1012 KMP_DEBUG_ASSERT(sh);
1013 KMP_DEBUG_ASSERT(th->th.th_dispatch ==
1074 KMP_DEBUG_ASSERT(pr);
1075 KMP_DEBUG_ASSERT(sh);
1076 KMP_DEBUG_ASSERT(t
[all...]
H A Dkmp_i18n.cpp94 KMP_DEBUG_ASSERT(status == KMP_I18N_CLOSED);
95 KMP_DEBUG_ASSERT(cat == KMP_I18N_NULLCAT);
180 KMP_DEBUG_ASSERT(cat != KMP_I18N_NULLCAT);
288 KMP_DEBUG_ASSERT(status == KMP_I18N_CLOSED);
289 KMP_DEBUG_ASSERT(cat == KMP_I18N_NULLCAT);
408 KMP_DEBUG_ASSERT(cat != KMP_I18N_NULLCAT);
469 KMP_DEBUG_ASSERT(cat != KMP_I18N_NULLCAT);
509 KMP_DEBUG_ASSERT(rc == len);
809 default: { KMP_DEBUG_ASSERT(0); }
833 default: { KMP_DEBUG_ASSERT(
[all...]
H A Dkmp_affinity.cpp40 KMP_DEBUG_ASSERT(depth > 0);
222 KMP_DEBUG_ASSERT(__kmp_GetActiveProcessorCount != NULL);
255 KMP_DEBUG_ASSERT(numAddrs > 0);
382 KMP_DEBUG_ASSERT(label == depth);
498 KMP_DEBUG_ASSERT(core != NULL);
503 KMP_DEBUG_ASSERT(pu != NULL);
544 KMP_DEBUG_ASSERT(hS != NULL);
613 KMP_DEBUG_ASSERT(__kmp_pu_os_idx == NULL);
718 KMP_DEBUG_ASSERT(nActiveThreads == __kmp_avail_proc);
835 KMP_DEBUG_ASSERT(__kmp_affinity_gra
[all...]
H A Dkmp_csupport.cpp401 KMP_DEBUG_ASSERT(this_thr->th.th_set_nproc >= 1);
402 KMP_DEBUG_ASSERT(this_thr->th.th_teams_size.nteams >= 1);
403 KMP_DEBUG_ASSERT(this_thr->th.th_teams_size.nth >= 1);
417 KMP_DEBUG_ASSERT(this_thr->th.th_cg_roots);
423 KMP_DEBUG_ASSERT(tmp->cg_nthreads);
429 KMP_DEBUG_ASSERT(this_thr->th.th_cg_roots);
509 KMP_DEBUG_ASSERT(serial_team);
511 KMP_DEBUG_ASSERT(this_thr->th.th_team == serial_team);
512 KMP_DEBUG_ASSERT(serial_team != this_thr->th.th_root->r.r_root_team);
513 KMP_DEBUG_ASSERT(serial_tea
[all...]
H A Dkmp_barrier.cpp58 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]);
166 KMP_DEBUG_ASSERT(team != NULL);
250 KMP_DEBUG_ASSERT(team != NULL);
311 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]);
449 KMP_DEBUG_ASSERT(team != NULL);
459 KMP_DEBUG_ASSERT(team != NULL);
532 KMP_DEBUG_ASSERT(this_thr == other_threads[this_thr->th.th_info.ds.ds_tid]);
657 KMP_DEBUG_ASSERT(team != NULL);
696 KMP_DEBUG_ASSERT(team != NULL);
891 KMP_DEBUG_ASSERT(this_th
[all...]
H A Dkmp_lock.cpp204 KMP_DEBUG_ASSERT(gtid >= 0);
229 KMP_DEBUG_ASSERT(gtid >= 0);
252 KMP_DEBUG_ASSERT(gtid >= 0);
508 KMP_DEBUG_ASSERT(gtid >= 0);
533 KMP_DEBUG_ASSERT(gtid >= 0);
556 KMP_DEBUG_ASSERT(gtid >= 0);
809 KMP_DEBUG_ASSERT(gtid >= 0);
846 KMP_DEBUG_ASSERT(gtid >= 0);
882 KMP_DEBUG_ASSERT(gtid >= 0);
1104 KMP_DEBUG_ASSERT(this_th
[all...]
H A Dz_Windows_NT_util.cpp240 KMP_DEBUG_ASSERT(old_f & KMP_BARRIER_SLEEP_STATE);
247 KMP_DEBUG_ASSERT(cv->waiters_count_ > 0);
411 KMP_DEBUG_ASSERT(TCR_4(__kmp_thread_pool_active_nth) >= 0);
555 KMP_DEBUG_ASSERT((proc >= 0) && (proc < (__kmp_num_proc_groups * CHAR_BIT *
561 KMP_DEBUG_ASSERT(__kmp_SetThreadGroupAffinity != NULL);
710 KMP_DEBUG_ASSERT(path_size > 0);
715 KMP_DEBUG_ASSERT(path_size > 0);
727 KMP_DEBUG_ASSERT(ntdll != NULL);
732 KMP_DEBUG_ASSERT(NtQuerySystemInformation != NULL);
1005 KMP_DEBUG_ASSERT(__kmp_init_monito
[all...]
H A Dkmp_utility.cpp293 KMP_DEBUG_ASSERT(size >= sizeof(unknown));
321 KMP_DEBUG_ASSERT(rlen > 0);
H A Dkmp_stats.cpp80 KMP_DEBUG_ASSERT(std::isfinite(sample));
202 KMP_DEBUG_ASSERT(std::isfinite(sample));
204 KMP_DEBUG_ASSERT(0 <= bin && bin < numBins);
275 KMP_DEBUG_ASSERT(this->timer_stack.size() == 0);
291 KMP_DEBUG_ASSERT(this->timer_stack.size() > 0);
309 KMP_DEBUG_ASSERT(stack_size > 1);
325 KMP_DEBUG_ASSERT(this->timer_stack.size() > 0);
H A Dkmp_dispatch.h325 KMP_DEBUG_ASSERT(th->th.th_dispatch);
401 KMP_DEBUG_ASSERT(th->th.th_dispatch);
459 KMP_DEBUG_ASSERT(x > 0.0 && x < 1.0);
460 // KMP_DEBUG_ASSERT(y >= 0); // y is unsigned
H A Dkmp_gsupport.cpp536 KMP_DEBUG_ASSERT(stride == str); \
571 KMP_DEBUG_ASSERT(stride == str); \
681 KMP_DEBUG_ASSERT(stride == str); \
727 KMP_DEBUG_ASSERT(stride == str); \
809 KMP_DEBUG_ASSERT(stride == str2); \
847 KMP_DEBUG_ASSERT((long long)stride == str2); \
960 KMP_DEBUG_ASSERT(stride == str); \
1008 KMP_DEBUG_ASSERT(stride == str); \
1260 KMP_DEBUG_ASSERT(stride == 1);
1261 KMP_DEBUG_ASSERT(l
[all...]
H A Dkmp_threadprivate.cpp143 KMP_DEBUG_ASSERT(__kmp_root[gtid]->r.r_uber_thread);
145 KMP_DEBUG_ASSERT(
248 KMP_DEBUG_ASSERT(d_tn);
302 KMP_DEBUG_ASSERT(__kmp_threads[gtid] &&
H A Dkmp_environment.cpp145 KMP_DEBUG_ASSERT(value != NULL);
279 KMP_DEBUG_ASSERT(count < delimiters + 1);
H A Dz_Linux_util.cpp1019 KMP_DEBUG_ASSERT(sizeof(kmp_uint32) ==
1063 KMP_DEBUG_ASSERT(th->th.th_info.ds.ds_tid == th->th.th_info.ds.ds_gtid);
1256 KMP_DEBUG_ASSERT(old_state == PTHREAD_CANCEL_DISABLE);
1428 KMP_DEBUG_ASSERT(KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init_count) ==
1509 KMP_DEBUG_ASSERT(TCR_4(__kmp_thread_pool_active_nth) >= 0);
1608 KMP_DEBUG_ASSERT(gtid != target_gtid);
1684 KMP_DEBUG_ASSERT(gtid != KMP_GTID_MONITOR);
2288 KMP_DEBUG_ASSERT(total_processes != 1 ||
2402 KMP_DEBUG_ASSERT(running_threads > 0);
H A Dkmp_taskdeps.cpp357 KMP_DEBUG_ASSERT(dep->flags.mtx == 1);
380 KMP_DEBUG_ASSERT(node->dn.mtx_num_locks < MAX_MTX_DEPS);
386 KMP_DEBUG_ASSERT(node->dn.mtx_locks[node->dn.mtx_num_locks] == NULL);
389 KMP_DEBUG_ASSERT(node->dn.mtx_locks[n - 1] != NULL);
396 KMP_DEBUG_ASSERT(m < MAX_MTX_DEPS); // must break from loop
H A Dkmp_wait_release.h343 KMP_DEBUG_ASSERT(!KMP_MASTER_TID(this_thr->th.th_info.ds.ds_tid));
487 KMP_DEBUG_ASSERT(flag->get());
572 KMP_DEBUG_ASSERT(i < num_waiting_threads);
669 KMP_DEBUG_ASSERT(i < num_waiting_threads);
842 KMP_DEBUG_ASSERT(i < num_waiting_threads);

Completed in 391 milliseconds

12