/external/llvm-project/openmp/runtime/src/ |
D | kmp_debug.h | 36 #define KMP_ASSERT(cond) \ macro 44 #define KMP_DEBUG_ASSERT(cond) KMP_ASSERT(cond) 49 #define KMP_ASSERT(cond) \ macro 53 #define KMP_ASSERT2(cond, msg) KMP_ASSERT(cond) 59 #define KMP_ASSERT(cond) /* Nothing */ macro
|
D | kmp_cancel.cpp | 110 KMP_ASSERT(0 /* false */); in __kmpc_cancel() 115 KMP_ASSERT(0 /* false */); in __kmpc_cancel() 182 KMP_ASSERT(0 /* false */); in __kmpc_cancellationpoint() 222 KMP_ASSERT(0 /* false */); in __kmpc_cancellationpoint() 280 KMP_ASSERT(0 /* false */); in __kmpc_cancel_barrier() 286 KMP_ASSERT(0 /* false */); in __kmpc_cancel_barrier()
|
D | kmp_affinity.cpp | 98 KMP_ASSERT(buf); in __kmp_affinity_print_mask() 99 KMP_ASSERT(buf_len >= 40); in __kmp_affinity_print_mask() 100 KMP_ASSERT(mask); in __kmp_affinity_print_mask() 108 KMP_ASSERT(scan <= end); in __kmp_affinity_print_mask() 154 KMP_ASSERT(scan <= end); in __kmp_affinity_print_mask() 167 KMP_ASSERT(buf); in __kmp_affinity_str_buf_mask() 168 KMP_ASSERT(mask); in __kmp_affinity_str_buf_mask() 579 KMP_ASSERT(__kmp_affinity_type == affinity_none); in __kmp_affinity_create_hwloc_map() 727 KMP_ASSERT(nActiveThreads > 0); in __kmp_affinity_create_hwloc_map() 881 KMP_ASSERT(__kmp_affinity_type == affinity_none); in __kmp_affinity_create_flat_map() [all …]
|
D | kmp_alloc.cpp | 1158 KMP_ASSERT(*((void **)ptr - 1)); in kmpc_realloc() 1180 KMP_ASSERT(*((void **)ptr - 1)); in kmpc_free() 1357 KMP_ASSERT(IS_POWER_OF_TWO(al->alignment)); in __kmpc_init_allocator() 1383 KMP_ASSERT(al->fb_data != NULL); in __kmpc_init_allocator() 1490 KMP_ASSERT(0); // abort fallback requested in __kmpc_alloc() 1492 KMP_ASSERT(al != al->fb_data); in __kmpc_alloc() 1504 KMP_ASSERT(0); // abort fallback requested in __kmpc_alloc() 1506 KMP_ASSERT(al != al->fb_data); in __kmpc_alloc() 1520 KMP_ASSERT(0); // abort fallback requested in __kmpc_alloc() 1522 KMP_ASSERT(al != al->fb_data); in __kmpc_alloc() [all …]
|
D | kmp_settings.cpp | 113 KMP_ASSERT(token != NULL); in __kmp_match_str() 114 KMP_ASSERT(buf != NULL); in __kmp_match_str() 115 KMP_ASSERT(end != NULL); in __kmp_match_str() 1854 KMP_ASSERT(num >= 0); in __kmp_parse_affinity_proc_id_list() 1879 KMP_ASSERT(num >= 0); in __kmp_parse_affinity_proc_id_list() 1903 KMP_ASSERT(start >= 0); in __kmp_parse_affinity_proc_id_list() 1928 KMP_ASSERT(end >= 0); in __kmp_parse_affinity_proc_id_list() 1951 KMP_ASSERT(stride >= 0); in __kmp_parse_affinity_proc_id_list() 2025 KMP_ASSERT(value != NULL); in __kmp_parse_affinity_env() 2199 KMP_ASSERT(n >= 0); in __kmp_parse_affinity_env() [all …]
|
D | z_Linux_util.cpp | 2020 KMP_ASSERT(file != NULL); in __kmp_is_address_mapped() 2032 KMP_ASSERT(rc == 3 && in __kmp_is_address_mapped() 2118 KMP_ASSERT(!rc); in __kmp_is_address_mapped() 2119 KMP_ASSERT(size); in __kmp_is_address_mapped() 2123 KMP_ASSERT(kiv); in __kmp_is_address_mapped() 2126 KMP_ASSERT(!rc); in __kmp_is_address_mapped() 2127 KMP_ASSERT(size); in __kmp_is_address_mapped() 2147 KMP_ASSERT(!rc); in __kmp_is_address_mapped() 2148 KMP_ASSERT(size); in __kmp_is_address_mapped() 2154 KMP_ASSERT(size); in __kmp_is_address_mapped()
|
D | kmp_runtime.cpp | 848 KMP_ASSERT(0); in __kmp_reserve_threads() 929 KMP_ASSERT(new_nthreads >= 1); in __kmp_reserve_threads() 1227 KMP_ASSERT(new_team); in __kmp_serialized_parallel() 1264 KMP_ASSERT(this_thr->th.th_current_task->td_flags.executing == 1); in __kmp_serialized_parallel() 3162 KMP_ASSERT(!root->r.r_begin); in __kmp_initialize_root() 3650 KMP_ASSERT(gtid < __kmp_threads_capacity); in __kmp_register_root() 3733 KMP_ASSERT(root_thread->th.th_serial_team); in __kmp_register_root() 3967 KMP_ASSERT(KMP_UBER_GTID(gtid)); in __kmp_unregister_root_current_thread() 3968 KMP_ASSERT(root == __kmp_threads[gtid]->th.th_root); in __kmp_unregister_root_current_thread() 3969 KMP_ASSERT(root->r.r_active == FALSE); in __kmp_unregister_root_current_thread() [all …]
|
D | kmp_barrier.cpp | 1398 KMP_ASSERT(__kmp_barrier_gather_branch_bits[bt]); in __kmp_barrier_template() 1410 KMP_ASSERT(__kmp_barrier_gather_branch_bits[bt]); in __kmp_barrier_template() 1510 KMP_ASSERT(__kmp_barrier_release_branch_bits[bt]); in __kmp_barrier_template() 1521 KMP_ASSERT(__kmp_barrier_release_branch_bits[bt]); in __kmp_barrier_template() 1640 KMP_ASSERT(__kmp_barrier_release_branch_bits[bt]); in __kmp_end_split_barrier() 1651 KMP_ASSERT(__kmp_barrier_release_branch_bits[bt]); in __kmp_end_split_barrier() 1786 KMP_ASSERT(__kmp_barrier_gather_branch_bits[bs_forkjoin_barrier]); in __kmp_join_barrier() 1797 KMP_ASSERT(__kmp_barrier_gather_branch_bits[bs_forkjoin_barrier]); in __kmp_join_barrier() 1978 KMP_ASSERT(__kmp_barrier_release_branch_bits[bs_forkjoin_barrier]); in __kmp_fork_barrier() 1989 KMP_ASSERT(__kmp_barrier_release_branch_bits[bs_forkjoin_barrier]); in __kmp_fork_barrier()
|
D | kmp_taskdeps.h | 29 KMP_ASSERT(node->dn.nrefs == 0); in __kmp_node_deref()
|
D | kmp_gsupport.cpp | 69 KMP_ASSERT(index < (size_t)num_deps); in get_kmp_depend() 1242 KMP_ASSERT(depend); 1269 KMP_ASSERT(depend); 1335 KMP_ASSERT(lb == ub); in KMP_EXPAND_NAME() 1360 KMP_ASSERT(lb == ub); in KMP_EXPAND_NAME() 1721 KMP_ASSERT((size_t)arg_size >= 2 * sizeof(T)); in __GOMP_taskloop() 1722 KMP_ASSERT(arg_align > 0); in __GOMP_taskloop()
|
D | kmp_csupport.cpp | 513 KMP_ASSERT(serial_team->t.t_serialized); in __kmpc_end_serialized_parallel() 595 KMP_ASSERT(this_thr->th.th_current_task->td_flags.executing == 0); in __kmpc_end_serialized_parallel() 1301 KMP_ASSERT(ilock); in __ompt_get_mutex_impl_type() 1504 KMP_ASSERT(lck != NULL); in __kmpc_end_critical() 1526 KMP_ASSERT(ilk != NULL); in __kmpc_end_critical() 1553 KMP_ASSERT(lck != NULL); in __kmpc_end_critical() 3287 KMP_ASSERT(lck != NULL); in __kmp_end_critical_section_reduce_block() 3491 KMP_ASSERT(0); // "unexpected method" in __kmpc_reduce_nowait() 3552 KMP_ASSERT(0); // "unexpected method" in __kmpc_end_reduce_nowait() 3681 KMP_ASSERT(0); // "unexpected method" in __kmpc_reduce() [all …]
|
D | kmp_error.cpp | 261 KMP_ASSERT(ct == ct_ordered_in_parallel); 338 KMP_ASSERT(gtid == __kmp_get_gtid());
|
D | kmp_taskdeps.cpp | 549 KMP_ASSERT(ompt_deps != NULL); in __kmpc_omp_task_with_deps() 690 KMP_ASSERT(taskwait_task_data->ptr == NULL); in __kmpc_omp_wait_deps() 715 KMP_ASSERT(ompt_deps != NULL); in __kmpc_omp_wait_deps()
|
D | kmp_threadprivate.cpp | 512 KMP_ASSERT(cctor == 0); in __kmpc_threadprivate_register() 756 KMP_ASSERT(cctor == 0); in __kmpc_threadprivate_register_vec()
|
D | kmp_lock.cpp | 55 KMP_ASSERT(z == 2); in __kmp_validate_locks() 58 KMP_ASSERT(offsetof(kmp_base_queuing_lock, tail_id) % 8 == 0); in __kmp_validate_locks() 1231 KMP_ASSERT(tail_thr != NULL); in __kmp_acquire_queuing_lock_timed_template() 1830 KMP_ASSERT(lck->stats.next->stats.prev == lck); in __kmp_init_speculative_stats() 1831 KMP_ASSERT(lck->stats.prev->stats.next == lck); in __kmp_init_speculative_stats() 1846 KMP_ASSERT(lck->stats.next->stats.prev == lck); in __kmp_remember_lock() 1847 KMP_ASSERT(lck->stats.prev->stats.next == lck); in __kmp_remember_lock() 1853 KMP_ASSERT(lck->stats.next->stats.prev == lck); in __kmp_forget_lock() 1854 KMP_ASSERT(lck->stats.prev->stats.next == lck); in __kmp_forget_lock() 3470 KMP_ASSERT(0); in __kmp_set_user_lock_vptrs()
|
D | kmp_tasking.cpp | 875 KMP_ASSERT(destr_thunk); in __kmp_task_finish() 2111 KMP_ASSERT(tg != NULL); in __kmp_task_reduction_init() 2112 KMP_ASSERT(data != NULL); in __kmp_task_reduction_init() 2113 KMP_ASSERT(num > 0); in __kmp_task_reduction_init() 2127 KMP_ASSERT(data[i].reduce_comb != NULL); // combiner is mandatory in __kmp_task_reduction_init() 2229 KMP_ASSERT(tg != NULL); in __kmpc_task_reduction_get_th_data() 2234 KMP_ASSERT(data != NULL); in __kmpc_task_reduction_get_th_data()
|
D | kmp_dispatch_hier.h | 47 KMP_ASSERT(0); in __kmp_get_hier_str() 236 KMP_ASSERT(0); in get_wait_val()
|
D | z_Windows_NT_util.cpp | 994 KMP_ASSERT(this_thr->th.th_info.ds.ds_stackgrow == FALSE); in __kmp_launch_worker() 1126 KMP_ASSERT(rc); in __kmp_create_worker()
|
D | kmp_dispatch.cpp | 605 KMP_ASSERT(cross && __kmp_pow<UT>(x, cross - 1) > target && in __kmp_dispatch_init_algorithm() 1256 KMP_ASSERT(lck != NULL); in __kmp_dispatch_next_algorithm() 1728 KMP_ASSERT(init <= limit); in __kmp_dispatch_next_algorithm() 2094 KMP_ASSERT(lck != NULL); in __kmp_dispatch_next()
|
D | kmp_stats.cpp | 189 KMP_ASSERT(0); in findBin()
|
D | kmp.h | 729 KMP_ASSERT(0); in get_api_type()
|