Lines Matching refs:__TBB_ASSERT
62 …__TBB_ASSERT(binding_observer, "Failure during NUMA binding observer allocation and construction"); in construct_binding_observer()
69 __TBB_ASSERT(binding_observer, "Trying to deallocate nullptr pointer"); in destroy_binding_observer()
132 …__TBB_ASSERT(my_references.load(std::memory_order_relaxed) >= ref_param, "broken arena reference c… in on_thread_leaving()
158 __TBB_ASSERT( index >= lower && index < upper, nullptr); in occupy_free_slot_in_range()
190 __TBB_ASSERT( is_alive(my_guard), nullptr); in process()
191 __TBB_ASSERT( my_num_slots >= 1, nullptr); in process()
201 __TBB_ASSERT( index >= my_num_reserved_slots, "Workers cannot occupy reserved slots" ); in process()
211 __TBB_ASSERT(task_disp.can_steal(), nullptr); in process()
213 …__TBB_ASSERT( !tls.my_last_observer, "There cannot be notified local observers when entering arena… in process()
224 __TBB_ASSERT(governor::is_thread_data_set(&tls), nullptr); in process()
225 __TBB_ASSERT(tls.my_task_dispatcher == &task_disp, nullptr); in process()
237 __TBB_ASSERT(tls.my_inbox.is_idle_state(true), nullptr); in process()
238 __TBB_ASSERT(is_alive(my_guard), nullptr); in process()
246 … __TBB_ASSERT(tls.my_arena == this, "my_arena is used as a hint when searching the arena to join"); in process()
250 __TBB_ASSERT( !my_guard, "improperly allocated arena?" ); in arena()
251 …__TBB_ASSERT( sizeof(my_slots[0]) % cache_line_size()==0, "arena::slot size not multiple of cache … in arena()
252 __TBB_ASSERT( is_aligned(this, cache_line_size()), "arena misaligned" ); in arena()
263 __TBB_ASSERT ( my_max_num_workers <= my_num_slots, nullptr); in arena()
271 __TBB_ASSERT( !my_slots[i].task_pool_ptr, nullptr); in arena()
272 __TBB_ASSERT( !my_slots[i].my_task_pool_size, nullptr); in arena()
289 …__TBB_ASSERT( sizeof(base_type) + sizeof(arena_slot) == sizeof(arena), "All arena data fields must… in allocate_arena()
290 …__TBB_ASSERT( sizeof(base_type) % cache_line_size() == 0, "arena slots area misaligned: wrong padd… in allocate_arena()
291 __TBB_ASSERT( sizeof(mail_outbox) == max_nfs_size, "Mailbox padding is wrong" ); in allocate_arena()
302 __TBB_ASSERT( is_alive(my_guard), nullptr); in free_arena()
303 …__TBB_ASSERT( !my_references.load(std::memory_order_relaxed), "There are threads in the dying aren… in free_arena()
304 …__TBB_ASSERT( !my_total_num_workers_requested && !my_num_workers_allotted, "Dying arena requests w… in free_arena()
305 __TBB_ASSERT( is_empty(), "Inconsistent state of a dying arena" ); in free_arena()
317 …__TBB_ASSERT( my_slots[i].head == my_slots[i].tail, nullptr); // TODO: replace by is_quiescent_loc… in free_arena()
322 __TBB_ASSERT(my_fifo_task_stream.empty(), "Not all enqueued tasks were executed"); in free_arena()
323 __TBB_ASSERT(my_resume_task_stream.empty(), "Not all enqueued tasks were executed"); in free_arena()
329 __TBB_ASSERT( my_critical_task_stream.empty(), "Not all critical tasks were executed"); in free_arena()
335 __TBB_ASSERT( my_references.load(std::memory_order_relaxed) == 0, nullptr); in free_arena()
421 __TBB_ASSERT(-1 <= mandatory_delta && mandatory_delta <= 1, nullptr); in update_request()
452 __TBB_ASSERT(num_slots > 0, NULL); in create()
453 __TBB_ASSERT(num_reserved_slots <= num_slots, NULL); in create()
479 __TBB_ASSERT( is_arena_priority_correct, in assert_arena_priority_valid()
557 … __TBB_ASSERT(ta.my_arena.load(std::memory_order_relaxed) == nullptr, "Arena already initialized"); in initialize()
578 __TBB_ASSERT(!ta.my_arena.load(std::memory_order_relaxed), nullptr); in attach()
584 __TBB_ASSERT(a->my_references > 0, nullptr); in attach()
589 …__TBB_ASSERT(arena::num_arena_slots(ta.my_max_concurrency, ta.my_num_reserved_slots) == a->my_num_… in attach()
609 __TBB_ASSERT(!a->my_default_ctx->is_group_execution_cancelled(), in enqueue()
654 __TBB_ASSERT(td.my_arena_slot, nullptr); in nested_arena_context()
655 __TBB_ASSERT(td.my_arena_slot->is_occupied(), nullptr); in nested_arena_context()
656 __TBB_ASSERT(td.my_task_dispatcher, nullptr); in nested_arena_context()
660 __TBB_ASSERT(governor::is_thread_data_set(&td), nullptr); in ~nested_arena_context()
679 __TBB_ASSERT(td.my_inbox.is_idle_state(false), nullptr); in ~nested_arena_context()
702 __TBB_ASSERT(&ed_ext.task_disp->m_execute_data_ext == &ed, in execute()
704 __TBB_ASSERT(ed_ext.task_disp->m_execute_data_ext.isolation == no_isolation, nullptr); in execute()
742 __TBB_ASSERT(a != nullptr, nullptr); in execute()
769 …__TBB_ASSERT(!exec_context.my_exception.load(std::memory_order_relaxed), nullptr); // exception ca… in execute()
782 …__TBB_ASSERT(exec_context.is_group_execution_cancelled(), "The task group context with an exceptio… in execute()
785 __TBB_ASSERT(governor::is_thread_data_set(td), nullptr); in execute()
797 __TBB_ASSERT(same_arena || governor::is_thread_data_set(td), nullptr); in execute()
808 __TBB_ASSERT(a != nullptr, nullptr); in wait()
811 …__TBB_ASSERT(td->my_arena != a || td->my_arena_index == 0, "internal_wait is not supported within … in wait()
827 __TBB_ASSERT( !ta || ta->my_max_concurrency==1, nullptr); in max_concurrency()
849 __TBB_ASSERT(!ta || ta->my_max_concurrency==d1::task_arena_base::automatic, nullptr); in max_concurrency()
867 __TBB_ASSERT(governor::get_thread_data()->my_task_dispatcher == dispatcher, nullptr); in isolate_within_arena()