| /oneTBB/test/conformance/ |
| H A D | conformance_blocked_range3d.cpp | 110 range_type r2(r,oneapi::tbb::split()); in SerialTest() local 111 …if( (GetValueOf(r2.pages().begin())==GetValueOf(r.pages().begin())) && (GetValueOf(r2.rows().begin… in SerialTest() 112 … REQUIRE( GetValueOf(r2.pages().end())==GetValueOf(r.pages().end()) ); in SerialTest() 113 … REQUIRE( GetValueOf(r2.rows().end())==GetValueOf(r.rows().end()) ); in SerialTest() 114 … REQUIRE( GetValueOf(r2.cols().begin())==GetValueOf(r.cols().end()) ); in SerialTest() 116 …if ( (GetValueOf(r2.pages().begin())==GetValueOf(r.pages().begin())) && (GetValueOf(r2.cols().begi… in SerialTest() 118 … REQUIRE( GetValueOf(r2.cols().end())==GetValueOf(r.cols().end()) ); in SerialTest() 121 … REQUIRE( GetValueOf(r2.rows().end())==GetValueOf(r.rows().end()) ); in SerialTest() 122 … REQUIRE( GetValueOf(r2.cols().end())==GetValueOf(r.cols().end()) ); in SerialTest() 225 oneapi::tbb::blocked_range3d r2(r1); [all …]
|
| H A D | conformance_blocked_range2d.cpp | 93 range_type r2(r,oneapi::tbb::split()); in SerialTest() local 94 if( GetValueOf(r2.rows().begin())==GetValueOf(r.rows().begin()) ) { in SerialTest() 95 … REQUIRE( GetValueOf(r2.rows().end())==GetValueOf(r.rows().end()) ); in SerialTest() 96 … REQUIRE( GetValueOf(r2.cols().begin())==GetValueOf(r.cols().end()) ); in SerialTest() 98 … REQUIRE( GetValueOf(r2.cols().end())==GetValueOf(r.cols().end()) ); in SerialTest() 99 … REQUIRE( GetValueOf(r2.rows().begin())==GetValueOf(r.rows().end()) ); in SerialTest() 185 oneapi::tbb::blocked_range2d r2(r1); 186 static_assert(std::is_same<decltype(r2), decltype(r1)>::value);
|
| H A D | conformance_blocked_range.cpp | 77 oneapi::tbb::blocked_range<AbstractValueType> r2(r,oneapi::tbb::split()); in SerialTest() local 79 CHECK( GetValueOf(r.end())==GetValueOf(r2.begin()) ); in SerialTest() 80 CHECK( GetValueOf(r2.end())==y ); in SerialTest() 82 CHECK( r2.grainsize()==k ); in SerialTest() 159 oneapi::tbb::blocked_range r2(r1); 160 static_assert(std::is_same<decltype(r2), decltype(r1)>::value);
|
| H A D | conformance_blocked_rangeNd.cpp | 226 oneapi::tbb::blocked_range<int> r2(-12, 23); variable 230 oneapi::tbb::blocked_rangeNd<int, 2>({ r2, r1 }); 232 oneapi::tbb::blocked_rangeNd<int, 2>(r1, r2);
|
| H A D | conformance_concurrent_hash_map.cpp | 360 void TestRangeAssignment( Range2 r2 ) { in TestRangeAssignment() argument 361 Range1 r1(r2); r1 = r2; in TestRangeAssignment()
|
| H A D | conformance_concurrent_vector.cpp | 86 void TestRangeAssignment( Range2 r2 ) { in TestRangeAssignment() argument 87 Range1 r1(r2); r1 = r2; in TestRangeAssignment()
|
| H A D | conformance_concurrent_queue.cpp | 570 …(), locations.end(), dst_queue.unsafe_begin(), [](const T* t1, const T& r2) { return t1 == &r2; }), in TestConstructors() argument
|
| /oneTBB/test/tbb/ |
| H A D | test_blocked_range.cpp | 66 blocked_range<std::size_t> r2(r1, p); 77 …std::size_t diff = (r2.begin() < newRangeBegin) ? (newRangeBegin - r2.begin()) : (r2.begin() - new… 79 bool test_passed = (r1.begin() == begin && r1.end() == r2.begin() && is_split_correct && 80 r2.end() == end); 83 … r1[%lu, %lu) and r2[%lu, %lu)\n", begin, end, r1.begin(), r1.end(), r2.begin(), r2.end(), begin, …
|
| H A D | test_async_node.cpp | 473 harness_counting_receiver<int> r2(g); in test_copy_ctor() local 480 tbb::flow::make_edge(tbb::flow::output_port<0>(b), r2); // usual way of making edges in test_copy_ctor() 488 … INFO("r1.my_count == " << int(r1.my_count) << " and r2.my_count = " << int(r2.my_count) << "\n" ); in test_copy_ctor() 491 CHECK_MESSAGE( ( int(r2.my_count) == 0), "counting receiver r2 has not received 0 items" ); in test_copy_ctor() 499 … INFO("r1.my_count == " << int(r1.my_count) << " and r2.my_count = " << int(r2.my_count) << "\n" ); in test_copy_ctor() 502 CHECK_MESSAGE( ( int(r2.my_count) == N), "counting receiver r2 has not received N items" ); in test_copy_ctor()
|
| H A D | test_concurrent_hash_map.cpp | 171 std::pair<const_iterator,const_iterator> r2 = const_c.equal_range( value.first ); in operator ()() local 172 const_iterator r2_first_prev = r2.first++; in operator ()() 173 … CHECK((utils::IsEqual()( *r2_first_prev, value ) && utils::IsEqual()( r2.first, r2.second ))); in operator ()()
|
| H A D | test_eh_algorithms.cpp | 120 range_type r2(r,tbb::split()); in CountSubranges() local 121 return CountSubranges(r) + CountSubranges(r2); in CountSubranges()
|
| /oneTBB/examples/parallel_for/polygon_overlay/ |
| H A D | polyover.cpp | 51 int r1, g1, b1, r2, g2, b2; in OverlayOnePolygonWithMap() local 62 p2->getColor(&r2, &g2, &b2); in OverlayOnePolygonWithMap() 63 myr = r1 + r2; in OverlayOnePolygonWithMap() 342 int r1, g1, b1, r2, g2, b2; in operator ()() local 368 p2->getColor(&r2, &g2, &b2); in operator ()() 369 myr = r1 + r2; in operator ()() 477 int r1, g1, b1, r2, g2, b2; in operator ()() local 503 p2->getColor(&r2, &g2, &b2); in operator ()() 504 myr = r1 + r2; in operator ()() 614 int r1, g1, b1, r2, g2, b2; in operator ()() local [all …]
|
| /oneTBB/test/common/ |
| H A D | concurrent_associative_common.h | 1078 std::pair<const_iterator, const_iterator> r2 = constC.equal_range(Value<Table>::key(value)); 1079 REQUIRE((equal(*r2.first, value) && ++r2.first == r2.second));
|