Home
last modified time | relevance | path

Searched refs:numThreads (Results 1 – 3 of 3) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_global_control.cpp173 const int numThreads = 4; in operator ()() local
174 tbb::global_control init(tbb::global_control::max_allowed_parallelism, numThreads); in operator ()()
175 tbb::task_arena a(numThreads); in operator ()()
177 utils::SpinBarrier barrier(numThreads); in operator ()()
178 tbb::parallel_for(0, numThreads, Body(barrier)); in operator ()()
H A Dtest_task_group.cpp115 SharedGroupBodyImpl ( std::uintptr_t numThreads, std::uintptr_t sharingMode = 0 ) in SharedGroupBodyImpl() argument
116 : m_numThreads(numThreads) in SharedGroupBodyImpl()
119 , m_barrier(numThreads) in SharedGroupBodyImpl()
171 SharedGroupBody ( std::uintptr_t numThreads, std::uintptr_t sharingMode = 0 ) in SharedGroupBody() argument
175 , m_pImpl( new SharedGroupBodyImpl<task_group_type>(numThreads, sharingMode) ) in SharedGroupBody()
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_overload.cpp518 int numThreads = 16; variable
519 utils::NativeParallelFor(numThreads, [](int) { in __anon9013b3550102()