| /oneTBB/test/tbb/ |
| H A D | test_collaborative_call_once.cpp | 77 tbb::collaborative_once_flag flag; in call_once_in_for_loop() local 85 tbb::collaborative_once_flag flag; in call_once_in_parallel_for() local 104 tbb::collaborative_once_flag flag; in call_once_threads() local 236 tbb::collaborative_once_flag flag; variable 262 tbb::collaborative_once_flag flag; variable 271 tbb::collaborative_call_once(flag, setB); 309 tbb::collaborative_once_flag flag; variable 333 tbb::collaborative_once_flag flag; variable 337 tbb::collaborative_call_once(flag, [&] { in __anon8532fc100c02() 352 tbb::collaborative_once_flag flag; variable [all …]
|
| H A D | test_flow_graph_whitebox.cpp | 537 mf_body(std::atomic<int>& flag) : my_flag(flag) { } in mf_body()
|
| H A D | test_task_arena.cpp | 1922 volatile bool flag = true; in throwing_obj() local 1923 if (flag) throw std::exception{}; in throwing_obj()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_collaborative_call_once.cpp | 73 int flag = 0; variable 74 auto func = [&flag] { flag++; }; in __anon8e61f74e0202() 81 REQUIRE(flag == 1); 94 oneapi::tbb::collaborative_once_flag flag; variable 97 tg.run([&flag, &barrier] { in __anon8e61f74e0402() 100 oneapi::tbb::collaborative_call_once(flag, [] { }); in __anon8e61f74e0402() 109 oneapi::tbb::collaborative_call_once(flag, [&barrier] { in __anon8e61f74e0602()
|
| H A D | conformance_async_node.cpp | 121 std::atomic<bool> flag{false}; variable 128 flag = true; in __anon83a565ab0102() 137 …CHECK_MESSAGE((flag.load()), "The body of assync_node must submits the messages to an external act…
|
| H A D | conformance_graph.cpp | 30 std::atomic<bool> flag = {false}; in test_continue_node_rf_reset_protocol() local 31 continue_node<int> source(g, 2, [&](const continue_msg&){ flag = true; return 1;}); in test_continue_node_rf_reset_protocol() 36 CHECK_MESSAGE((flag == false), "Should be false"); in test_continue_node_rf_reset_protocol() 42 CHECK_MESSAGE((flag == false), "Internal number of predecessors reinitialized"); in test_continue_node_rf_reset_protocol() 46 CHECK_MESSAGE((flag == true), "Should be true"); in test_continue_node_rf_reset_protocol()
|
| H A D | conformance_flowgraph.h | 257 static std::atomic<bool> flag; member 260 flag.store(false); in wait_flag_body() 265 while(!flag.load()) { utils::yield(); }; in operator() 275 while(!flag.load()) { }; in operator() 281 while(!flag.load()) { }; in operator() 286 std::atomic<bool> wait_flag_body::flag{false}; 708 wait_flag_body::flag = true; in test_rejecting()
|
| H A D | conformance_parallel_pipeline.cpp | 123 bool flag{false}; in RunPipeline() local 126 [&flag](oneapi::tbb::flow_control& fc) -> I{ in RunPipeline() 127 if(flag) { in RunPipeline() 130 flag = true; in RunPipeline()
|
| H A D | conformance_concurrent_queue.cpp | 1591 struct flag {}; struct in MinimalisticObject 1594 MinimalisticObject(flag) : underlying_obj(default_obj) {} in MinimalisticObject() argument 1644 default_container.emplace(MinimalisticObject::flag{}); in test_with_minimalistic_objects() 1653 default_container.emplace(MinimalisticObject::flag{}); in test_with_minimalistic_objects() 1659 default_container.emplace(MinimalisticObject::flag{}); in test_with_minimalistic_objects() 1662 MoveAssignableMinimalisticObject result(MinimalisticObject::flag{}); in test_with_minimalistic_objects()
|
| H A D | conformance_continue_node.cpp | 265 conformance::wait_flag_body::flag.store(true);
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | collaborative_call_once.h | 142 friend void collaborative_call_once(collaborative_once_flag& flag, Fn&& f, Args&&... args); 208 void collaborative_call_once(collaborative_once_flag& flag, Fn&& fn, Args&&... args) { in collaborative_call_once() argument 209 __TBB_ASSERT(flag.m_state.load(std::memory_order_relaxed) != collaborative_once_flag::dead, in collaborative_call_once() 211 if (flag.m_state.load(std::memory_order_acquire) != collaborative_once_flag::done) { in collaborative_call_once() 220 flag.do_collaborative_call_once(func); in collaborative_call_once()
|
| H A D | partitioner.h | 145 std::atomic<bool> &flag = static_cast<tree_node*>(t.my_parent)->m_child_stolen; in mark_task_stolen() local 148 flag.exchange(true); in mark_task_stolen() 150 flag.store(true, std::memory_order_relaxed); in mark_task_stolen()
|
| /oneTBB/cmake/ |
| H A D | utils.cmake | 15 macro(tbb_remove_compile_flag flag) 17 list(REMOVE_ITEM _tbb_compile_options ${flag}) 21 … string(REGEX REPLACE "(^|[ \t\r\n]+)${flag}($|[ \t\r\n]+)" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
|
| /oneTBB/ |
| H A D | Bazel.md | 87 The Bazel build uses the compiler flag `-mwaitpkg` in non-Windows* builds. 88 This flag is supported by the GNU* Compiler Collection (GCC) version 9.3, Clang* 12, and newer vers… 94 To use the Bazel build with earlier versions of GCC, remove `-mwaitpkg` flag as it leads to errors …
|
| H A D | CMakeLists.txt | 36 # Enable support of minimum supported macOS version flag 39 …E_CXX_OSX_DEPLOYMENT_TARGET_FLAG "-mmacosx-version-min=" CACHE STRING "Minimum macOS version flag") 42 …AKE_C_OSX_DEPLOYMENT_TARGET_FLAG "-mmacosx-version-min=" CACHE STRING "Minimum macOS version flag")
|
| /oneTBB/doc/main/tbb_userguide/design_patterns/ |
| H A D | Fenced_Data_Transfer.rst | 87 Change the flag from ``bool`` to ``std::atomic<bool>`` for the flag 145 One common mistake is to assume that declaring the flag with the
|
| /oneTBB/doc/main/intro/ |
| H A D | limitations.rst | 21 …* The LLVM standard library is employed, coupled with the use of the ``-ffreestanding`` flag and C…
|
| /oneTBB/test/common/ |
| H A D | graph_utils.h | 461 serial_fn_body(std::atomic<int>& flag) : my_flag(flag) { } 476 serial_continue_body(std::atomic<int> &flag) : my_flag(flag) {}
|
| /oneTBB/doc/GSG/ |
| H A D | integrate.rst | 68 …For Windows* OS, additionally, use the ``--msvc-syntax`` option flag that converts the compiling a…
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | More_on_HashCompare.rst | 59 comparison, depending upon an internal flag ``ignore_case``.
|
| H A D | Floating_Point_Settings.rst | 14 …ettings in a task group context. Do it at context creation with a special flag passed to the const…
|
| /oneTBB/src/tbbmalloc/ |
| H A D | frontend.cpp | 1964 std::atomic<intptr_t> flag; member in rml::internal::ShutdownSync 1967 void init() { flag.store(0, std::memory_order_release); } in init() 1971 if (flag.load(std::memory_order_acquire) < 0) in threadDtorStart() 1973 if (++flag <= 0) { // note that new value returned in threadDtorStart() 1974 flag.fetch_sub(1); // flag is spoiled by us, restore it in threadDtorStart() 1980 flag.fetch_sub(1); in threadDtorDone() 1983 if (flag.fetch_add(skipDtor) != 0) { in processExit() 1984 SpinWaitUntilEq(flag, skipDtor); in processExit()
|
| /oneTBB/src/tbb/ |
| H A D | queuing_rw_mutex.cpp | 137 …atic void unblock_or_wait_on_internal_lock(d1::queuing_rw_mutex::scoped_lock& s, uintptr_t flag ) { in unblock_or_wait_on_internal_lock() 138 if( flag ) { in unblock_or_wait_on_internal_lock()
|
| /oneTBB/doc/ |
| H A D | Doxyfile.in | 172 # using the -I flag. 466 # This flag is only useful for Objective-C code. If set to YES, local methods, 474 # If this flag is set to YES, the members of anonymous namespaces will be 739 # warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag 1345 # The GENERATE_CHI flag controls if a separate .chi index file is generated 1358 # The BINARY_TOC flag controls whether a binary table of contents is generated 1366 # The TOC_EXPAND flag can be set to YES to add extra items for group members to
|
| /oneTBB/test/ |
| H A D | CMakeLists.txt | 48 # doesn't respect the -L flag.
|