Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 50) sorted by relevance

12

/oneTBB/include/oneapi/tbb/
H A Dcombinable.h46 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 Dconformance_combinable.cpp153 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 Dconformance_enumerable_thread_specific.cpp990 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 Dconformance_task_arena.cpp70 ets.local() = i; in __anon3e0b77410302()
76 REQUIRE(ets.local() == i); in __anon3e0b77410302()
/oneTBB/doc/main/tbb_userguide/
H A Dwork_isolation.rst42 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 Dparallel_for_os.rst64 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 Dparallel_reduce.rst80 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 Dtest_task_arena.cpp121 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 Dtest_resumable_tasks.cpp154 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 Dtest_enumerable_thread_specific.cpp107 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 Dtest_numa_dist.cpp96 tls.local() = std::pair<int, int>(proc.Group, proc.Number); in TestNumaDistribution()
/oneTBB/doc/main/reference/
H A Dmake_node_set_function.rst10 :local:
H A Dparallel_sort_ranges_extension.rst7 :local:
H A Dmake_edges_function.rst10 :local:
H A Dtype_specified_message_keys.rst10 :local:
H A Dconstructors_for_nodes.rst10 :local:
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_pools.cpp140 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 Dlin32-proxy.def48 local:
H A Dlin64-proxy.def48 local:
/oneTBB/src/tbbmalloc/def/
H A Dlin32-tbbmalloc.def50 local:
H A Dlin64-tbbmalloc.def50 local:
/oneTBB/cmake/android/
H A Denvironment.cmake15 set(ANDROID_DEVICE_TESTING_DIRECTORY "/data/local/tmp/tbb_testing")
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dfixed_pool_cls.rst12 :local:
H A Dmemory_pool_cls.rst12 :local:
/oneTBB/src/tbb/def/
H A Dlin64-tbb.def158 local:

12