| /oneTBB/include/oneapi/tbb/ |
| H A D | combinable.h | 46 T& local() { return my_ets.local(); } in local() function 48 T& local(bool& exists) { return my_ets.local(exists); } in local() function
|
| /oneTBB/test/conformance/ |
| H A D | conformance_combinable.cpp | 153 T& my_local = sums.local(was_there); in operator ()() 173 sums.local() += 1 ; in operator ()() 267 locals.local().push_back( one ); in operator ()() 392 REQUIRE_MESSAGE(create1.local().state == StateTrackable<true>::DefaultInitialized, in RunMoveSemanticsForStateTrackableObjectTest() 397 REQUIRE_MESSAGE(copy1.local().state == StateTrackable<true>::CopyInitialized, in RunMoveSemanticsForStateTrackableObjectTest() 402 REQUIRE_MESSAGE(copy2.local().state == StateTrackable<true>::DefaultInitialized, in RunMoveSemanticsForStateTrackableObjectTest() 405 REQUIRE_MESSAGE(copy2.local().state == StateTrackable<true>::CopyInitialized, in RunMoveSemanticsForStateTrackableObjectTest() 409 create1.local().state = StateTrackableBase::Unspecified; in RunMoveSemanticsForStateTrackableObjectTest() 420 copy1.local().state = StateTrackable<true>::MoveAssigned; in RunMoveSemanticsForStateTrackableObjectTest() 438 int oldval = locals->local(existed); in operator ()() [all …]
|
| H A D | conformance_enumerable_thread_specific.cpp | 990 ets1.local(); in TestInstantiation() 996 ets2.local(); in TestInstantiation() 1002 ets3.local(); in TestInstantiation() 1007 ets4.local(); in TestInstantiation() 1011 ets5.local(); in TestInstantiation() 1081 ets.local() = 1; in TestETSIterator() 1092 ets.local() = 42; in TestETSIterator() 1179 ets.local() = 42; in TestETSIteratorComparisons() 1216 ets.local() = 42; 1221 ets.local() = i; in __anonba7ca1840402() [all …]
|
| H A D | conformance_task_arena.cpp | 70 ets.local() = i; in __anon3e0b77410302() 76 REQUIRE(ets.local() == i); in __anon3e0b77410302()
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | work_isolation.rst | 42 errors. For example, a thread-local variable might unexpectedly 52 ets.local() = i; 56 assert( ets.local()==i ); // The assertion may fail! 78 ets.local() = i; 84 assert( ets.local()==i ); // Valid assertion 110 ``this_task_arena::isolate`` to ensure that a thread-local variable 129 ets.local() = i; 135 assert( ets.local()==i ); // Valid assertion
|
| H A D | parallel_for_os.rst | 64 local variables that were defined outside the original loop but used 84 The example ``operator()`` loads ``my_a`` into a local variable ``a``. 93 local variables helps the compiler optimize the loop better, because 94 local variables are often easier for the compiler to track.
|
| H A D | parallel_reduce.rst | 80 In the example, the definition of ``operator()`` uses local temporary 86 might not help. With a typical optimizing compiler, using local
|
| /oneTBB/test/tbb/ |
| H A D | test_task_arena.cpp | 121 old_id.local() = local_id.local(); in on_scheduler_entry() 123 local_id.local() = myId; in on_scheduler_entry() 129 slot_id.local() = -2; in on_scheduler_exit() 130 local_id.local() = old_id.local(); in on_scheduler_exit() 131 old_id.local() = 0; in on_scheduler_exit() 445 local_id.local() = 1; in operator ()() 712 int &e = myEts.local(); in operator ()() 985 if (!executed.local()) { in TestEnqueue() 989 executed.local() = false; in TestEnqueue() 1759 CHECK(my_ets.local()); in operator ()() [all …]
|
| H A D | test_resumable_tasks.cpp | 154 m_local.local() = i; in operator ()() 159 …CHECK_MESSAGE(i == m_local.local(), "Original thread wasn't recalled for innermost nested arena."); in operator ()() 275 ets_fiber.local() = i; in TestSuspendResume() 280 CHECK(ets_fiber.local() == i); in TestSuspendResume() 289 ets_fiber.local() = i; in TestSuspendResume() 292 CHECK(ets_fiber.local() == i); in TestSuspendResume()
|
| H A D | test_enumerable_thread_specific.cpp | 107 check_alignment(a[i].local(), "default").set_value(i + 1); in operator ()() 378 typename CounterBigType::reference my_local = MyCounters.local(); in TestConstructorWithBigType() 382 REQUIRE(check_alignment(MyCounters2.local(), allocator_name).my_data[0]=='a'); in TestConstructorWithBigType()
|
| H A D | test_numa_dist.cpp | 96 tls.local() = std::pair<int, int>(proc.Group, proc.Number); in TestNumaDistribution()
|
| /oneTBB/doc/main/reference/ |
| H A D | make_node_set_function.rst | 10 :local:
|
| H A D | parallel_sort_ranges_extension.rst | 7 :local:
|
| H A D | make_edges_function.rst | 10 :local:
|
| H A D | type_specified_message_keys.rst | 10 :local:
|
| H A D | constructors_for_nodes.rst | 10 :local:
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_pools.cpp | 140 void *local[ITERS]; in operator ()() local 151 local[i-1] = pool_malloc(pool, 6*1024); in operator ()() 152 memset(local[i-1], i, 6*1024); in operator ()() 153 local[i] = pool_malloc(pool, 16*1024); in operator ()() 154 memset(local[i], i, 16*1024); in operator ()() 161 pool_free(pool, local[i]); in operator ()()
|
| /oneTBB/src/tbbmalloc_proxy/def/ |
| H A D | lin32-proxy.def | 48 local:
|
| H A D | lin64-proxy.def | 48 local:
|
| /oneTBB/src/tbbmalloc/def/ |
| H A D | lin32-tbbmalloc.def | 50 local:
|
| H A D | lin64-tbbmalloc.def | 50 local:
|
| /oneTBB/cmake/android/ |
| H A D | environment.cmake | 15 set(ANDROID_DEVICE_TESTING_DIRECTORY "/data/local/tmp/tbb_testing")
|
| /oneTBB/doc/main/reference/scalable_memory_pools/ |
| H A D | fixed_pool_cls.rst | 12 :local:
|
| H A D | memory_pool_cls.rst | 12 :local:
|
| /oneTBB/src/tbb/def/ |
| H A D | lin64-tbb.def | 158 local:
|