| /oneTBB/test/common/ |
| H A D | initializer_list_support.h | 30 ContainerType cont(init); in test_ctor() 37 static_assert(std::is_same< decltype(cont = init), ContainerType& >::value == true, in test_assignment_operator() 40 cont = init; in test_assignment_operator() 53 cont.assign(init); in test() 62 cont.insert(init); in test() 70 std::vector<element_type> test_seq(init); in test_initializer_list_support() 73 test_ctor(init, expected); in test_initializer_list_support() 74 test_assignment_operator(init, expected); in test_initializer_list_support() 75 TestAssign::test(init, expected); in test_initializer_list_support() 76 TestSpecial::test(init, expected); in test_initializer_list_support() [all …]
|
| H A D | range_based_for_support.h | 27 …nge_based_for_accumulate( const Container& c, BinaryAccumulator accumulator, InitValueType init ) { in range_based_for_accumulate() argument 28 InitValueType range_based_for_accumulated = init; in range_based_for_accumulate() 37 …nge_based_for_accumulate( const Container& c, BinaryAccumulator accumulator, InitValueType init ) { in range_based_for_accumulate() argument 38 return range_based_for_accumulate<typename Container::value_type>(c, accumulator, init); in range_based_for_accumulate()
|
| H A D | vector_types.h | 48 void init( int ); 50 ClassWithVectorType() { init(-n); } in ClassWithVectorType() 51 ClassWithVectorType( int i ) { init(i); } in ClassWithVectorType() 69 ~ClassWithVectorType() { init(-2 * n); } in ~ClassWithVectorType() 85 void ClassWithVectorType<Mvec>::init( int start ) { in init() function
|
| H A D | concurrent_ordered_common.h | 225 auto init = {*it++, *it++, *it++}; 228 Table c2(init); 233 Table c2_alloc(init, allocator); 238 Table c2_comp_alloc(init, compare, allocator);
|
| /oneTBB/test/tbb/ |
| H A D | test_parallel_scan.cpp | 48 void VerifySum( int init, long finish_index, int sum, int line ) { in VerifySum() argument 49 int expected = init + TriangularSum(finish_index); in VerifySum() 71 Storage(T init) : in Storage() 72 my_total(init), my_range(-1, -1, 1) { in Storage() 125 storage.my_total = init; in ScanWithInit() 162 my_array(array), my_sum(sum), storage(init), my_state(full) in Accumulator() 239 …ScanBody(T init, const std::vector<T> &addend, std::vector<T> &sum) :my_addend(addend), my_sum(sum… in ScanBody() argument 261 ScanBody<T> sb(init, addend, sum); in operator ()() 266 res.my_total = init; in operator ()() 288 res.my_total = init; in operator ()() [all …]
|
| H A D | test_global_control.cpp | 65 task_scheduler_handle_guard init; in operator ()() local 105 if ( !myAutoInit && tbb::finalize( init.get(), std::nothrow ) ) in operator ()() 167 task_scheduler_handle_guard init; in operator ()() local 168 tbb::finalize( init.get() ); in operator ()() 174 tbb::global_control init(tbb::global_control::max_allowed_parallelism, numThreads); in operator ()() local
|
| H A D | test_parallel_reduce.cpp | 495 void init() { in init() function in FooBody 531 f.init(); in TestSplitting() 602 [](const blocked_range<int>&, int init)->int { in __anon6ca08c0e0202() argument 603 return init; in __anon6ca08c0e0202() 613 [](const blocked_range<int>&, int init)->int { in __anon6ca08c0e0402() argument 614 return init; in __anon6ca08c0e0402()
|
| /oneTBB/src/tbb/ |
| H A D | misc.h | 153 FastRandom( void* unique_ptr ) { init(uintptr_t(unique_ptr)); } in FastRandom() 156 void init( T seed ) { in init() function 157 init(seed,int_to_type<sizeof(seed)>()); in init() 159 void init( uint64_t seed , int_to_type<8> ) { in init() function 160 init(uint32_t((seed>>32)+seed), int_to_type<4>()); in init() 162 void init( uint32_t seed, int_to_type<4> ) { in init() function
|
| H A D | thread_control_monitor.h | 59 void init() override { in init() function 60 base_type::init(); in init()
|
| H A D | concurrent_monitor.h | 114 virtual void init() { in init() function 160 void init() override { in init() function 163 base_type::init(); in init() 206 node.init(); in prepare_wait()
|
| H A D | tcm_adaptor.cpp | 173 void init(d1::constraints& constraints) { in init() function in tbb::detail::r1::tcm_client 282 static_cast<tcm_client*>(c)->init(constraints); in register_client()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_enumerable_thread_specific.cpp | 279 test_helper<T>::init(new_bit); in operator ()() 283 test_helper<T>::init(zero); in AssertClean() 339 test_helper<T>::init(exemplar); in run_parallel_scalar_tests_nocombine() 354 test_helper<T>::init(range_sum); in run_parallel_scalar_tests_nocombine() 360 test_helper<T>::init(cconst_sum); in run_parallel_scalar_tests_nocombine() 494 test_helper<T>::init(exemplar); in run_parallel_scalar_tests() 644 test_helper<T>::init(sum); in run_parallel_vector_tests() 729 test_helper<T>::init(sum); in run_cross_type_vector_tests() 782 test_helper<T>::init(sum); in run_serial_scalar_tests() 797 test_helper<T>::init(sum); in run_serial_vector_tests() [all …]
|
| H A D | conformance_concurrent_map.cpp | 127 auto init = { pair_t{1, 1}, pair_t{2, 2}, pair_t{3, 3} }; in test_deduction_guides() local 128 TMap map5(init); in test_deduction_guides() 131 TMap map6(init, compare); in test_deduction_guides() 134 TMap map7(init, allocator); in test_deduction_guides() 137 TMap map8(init, compare, allocator); in test_deduction_guides()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_queue.h | 94 …concurrent_queue( std::initializer_list<value_type> init, const allocator_type& alloc = allocator_… 95 concurrent_queue(init.begin(), init.end(), alloc) 164 concurrent_queue& operator=( std::initializer_list<value_type> init ) { 165 assign(init); 176 void assign( std::initializer_list<value_type> init ) { in assign() argument 177 assign(init.begin(), init.end()); in assign() 373 concurrent_bounded_queue(init.begin(), init.end(), alloc) 443 concurrent_bounded_queue& operator=( std::initializer_list<value_type> init ) { 444 assign(init); 455 void assign( std::initializer_list<value_type> init ) { in assign() argument [all …]
|
| H A D | concurrent_priority_queue.h | 93 …concurrent_priority_queue( std::initializer_list<value_type> init, const Compare& compare, const a… 94 : concurrent_priority_queue(init.begin(), init.end(), compare, alloc) {} 96 …concurrent_priority_queue( std::initializer_list<value_type> init, const allocator_type& alloc = a… 97 : concurrent_priority_queue(init, Compare(), alloc) {} in concurrent_priority_queue() argument 146 concurrent_priority_queue& operator=( std::initializer_list<value_type> init ) { 147 assign(init.begin(), init.end()); 159 void assign( std::initializer_list<value_type> init ) { in assign() argument 160 assign(init.begin(), init.end()); in assign()
|
| H A D | concurrent_vector.h | 340 concurrent_vector( std::initializer_list<value_type> init, 342 : concurrent_vector(init.begin(), init.end(), alloc) 358 concurrent_vector& operator=( std::initializer_list<value_type> init ) { 359 assign(init); 375 void assign( std::initializer_list<value_type> init ) { in assign() argument 377 assign(init.begin(), init.end()); in assign() 396 iterator grow_by( std::initializer_list<value_type> init ) { in grow_by() argument 397 return grow_by(init.begin(), init.end()); in grow_by()
|
| /oneTBB/doc/GSG/ |
| H A D | next_steps.rst | 45 [](oneapi::tbb::blocked_range<int> const& r, int init) -> int { 47 init += v; 49 return init; 96 [](oneapi::tbb::blocked_range<int> const& r, int init) -> int { 98 init += v; 100 return init;
|
| /oneTBB/src/tbbmalloc/ |
| H A D | backend.h | 34 void init(Backend *b) { backend = b; } in init() function 59 void init(BackendSync *bSync) { bkndSync = bSync; } in init() function 212 void init() { leftBound.store(ADDRESS_UPPER_BOUND, std::memory_order_relaxed); } in init() function 227 void init() { } in init() function 340 void init(ExtMemoryPool *extMemoryPool);
|
| H A D | frontend.cpp | 127 static bool init() { in init() function in rml::internal::ThreadId 201 static bool init() { return true; } in init() function in rml::internal::ThreadId 211 bool TLSKey::init() in init() function in rml::internal::TLSKey 1086 loc.init(this); in init() 1087 backend.init(this); in init() 1967 void init() { flag.store(0, std::memory_order_release); } in init() function in rml::internal::ShutdownSync 1993 void init() { } in init() function in rml::internal::ShutdownSync 2018 hugePages.init(); in initDefaultPool() 2046 extMemPool.init(0, nullptr, nullptr, granularity, in initMemoryManager() 2054 shutdownSync.init(); in initMemoryManager() [all …]
|
| H A D | tbbmalloc_internal.h | 154 bool init(); 509 void init() { 582 bool init(intptr_t poolId, rawAllocType rawAlloc, rawFreeType rawFree,
|
| H A D | large_objects.h | 179 void init() { in init() function 336 void init(ExtMemoryPool *memPool);
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _concurrent_unordered_base.h | 133 void init( sokey_type key ) { in init() function 334 concurrent_unordered_base( std::initializer_list<value_type> init, 338 : concurrent_unordered_base(init.begin(), init.end(), bucket_count, hash, equal, alloc) {} 340 concurrent_unordered_base( std::initializer_list<value_type> init, in concurrent_unordered_base() argument 383 insert(init); 438 void insert( std::initializer_list<value_type> init ) { in insert() argument 439 insert(init.begin(), init.end()); in insert() 446 insert_node->init(order_key); in insert() 473 insert_node->init(order_key); in emplace() 481 insert_node->init(split_order_key_regular(1)); in emplace() [all …]
|
| H A D | _concurrent_skip_list.h | 308 …concurrent_skip_list( std::initializer_list<value_type> init, const key_compare& comp = key_compar… 310 : concurrent_skip_list(init.begin(), init.end(), comp, alloc) {} 312 concurrent_skip_list( std::initializer_list<value_type> init, const allocator_type& alloc ) in concurrent_skip_list() argument 313 : concurrent_skip_list(init, key_compare(), alloc) {} in concurrent_skip_list() 412 void insert( std::initializer_list<value_type> init ) { in insert() argument 413 insert(init.begin(), init.end()); in insert()
|
| /oneTBB/examples/graph/cholesky/ |
| H A D | CMakeLists.txt | 31 add_executable(cholesky init.cpp cholesky.cpp)
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_pools.cpp | 129 static void init(int num, rml::MemoryPool *pl, void **crThread, void **aTerm) { in init() function in SharedPoolRun 183 SharedPoolRun::init(p, pool, crossThread, afterTerm); in TestSharedPool() 228 static void init(long num) { in init() function in CrossThreadRun 284 CrossThreadRun::init(p); in TestCrossThreadPools()
|