| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | triangle.cpp | 75 VSub(&v2, &v0, &edge2); in newtri() 76 VSub(&v2, &v1, &edge3); in newtri() 102 VSub(&v2, &v0, &edge2); in newstri() 103 VSub(&v2, &v1, &edge3); in newstri() 128 dest.x = v1.y * v2.z - v1.z * v2.y; \ 129 dest.y = v1.z * v2.x - v1.x * v2.z; \ 130 dest.z = v1.x * v2.y - v1.y * v2.x; 132 #define DOT(v1, v2) (v1.x * v2.x + v1.y * v2.y + v1.z * v2.z) argument 134 #define SUB(dest, v1, v2) \ argument 137 dest.z = v1.z - v2.z; [all …]
|
| H A D | apigeom.cpp | 85 vector v0, v1, v2; in rt_heightfield() local 102 v2.x = wx * (xx + 1) / (m * 1.0) + xoff; in rt_heightfield() 103 v2.y = field[(yy + 1) * m + (xx + 1)] + zoff; in rt_heightfield() 104 v2.z = wy * (yy + 1) / (n * 1.0) + yoff; in rt_heightfield() 106 rt_tri(tex, v1, v0, v2); in rt_heightfield() 116 v2.x = wx * (xx + 1) / (m * 1.0) + xoff; in rt_heightfield() 117 v2.y = field[(yy + 1) * m + (xx + 1)] + zoff; in rt_heightfield() 118 v2.z = wy * (yy + 1) / (n * 1.0) + yoff; in rt_heightfield() 120 rt_tri(tex, v0, v1, v2); in rt_heightfield()
|
| H A D | apitrigeom.cpp | 67 double u, v, u2, v2; in rt_tri_fcylinder() local 88 v2 = rad * cos((6.28 * (j + 1.0)) / (CYLFACETS - 1.0)); in rt_tri_fcylinder() 100 MyVAddS(v2, &y, &p2, &p2); in rt_tri_fcylinder() 119 double u, v, u2, v2; in rt_tri_ring() local 140 v2 = cos((6.28 * (j + 1.0)) / (RINGFACETS - 1.0)); in rt_tri_ring() 153 MyVAddS(v2, &y, &p2, &p2); in rt_tri_ring()
|
| H A D | parse.cpp | 707 vector v0, v1, v2; in GetTri() local 718 rc |= GetVector(dfile, &v2); in GetTri() 722 rt_tri(tex, v0, v1, v2); in GetTri() 728 vector v0, v1, v2, n0, n1, n2; in GetSTri() local 739 rc |= GetVector(dfile, &v2); in GetSTri() 786 vector v1, v2, v0; in GetTPolyFile() local 828 rc |= GetVector(ifp, &v2); in GetTPolyFile() 832 Scale3d(&scale, &v2); in GetTPolyFile() 836 Rotate3d(&RotA, &v2); in GetTPolyFile() 840 Trans3d(&ctr, &v2); in GetTPolyFile() [all …]
|
| H A D | api.cpp | 370 void rt_tri(void *tex, vector v0, vector v1, vector v2) { in rt_tri() argument 373 trn = newtri(tex, (vector)v0, (vector)v1, (vector)v2); in rt_tri() 380 void rt_stri(void *tex, vector v0, vector v1, vector v2, vector n0, vector n1, vector n2) { in rt_stri() argument 383 trn = newstri(tex, (vector)v0, (vector)v1, (vector)v2, (vector)n0, (vector)n1, (vector)n2); in rt_stri()
|
| /oneTBB/.github/workflows/ |
| H A D | ci.yml | 40 - uses: actions/checkout@v2 50 - uses: actions/checkout@v2 65 - uses: actions/checkout@v2 89 uses: actions/checkout@v2 116 - uses: actions/checkout@v2 136 - uses: actions/checkout@v2 171 - uses: actions/checkout@v2 197 - uses: actions/checkout@v2 233 - uses: actions/checkout@v2 271 - uses: actions/checkout@v2 [all …]
|
| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_vector.cpp | 215 REQUIRE(v1 == v2); in TestSequentialFor() 327 Vector v2; in TestGrowToAtLeastWithSourceParameter() local 328 v2.grow_to_at_least(vector_size,src); in TestGrowToAtLeastWithSourceParameter() 1146 explicit throwing_foo(int v1, int v2) : value1 (v1), value2(v2) {} in throwing_foo() 1309 Vector v1, v2; in test_comparisons_basic() local 1315 v2.emplace_back(1); in test_comparisons_basic() 1318 v2.emplace_back(2); in test_comparisons_basic() 1322 v2.clear(); in test_comparisons_basic() 1328 TwoWayComparableVectorType v1, v2; in test_two_way_comparable_vector() local 1330 v2.emplace_back(1); in test_two_way_comparable_vector() [all …]
|
| H A D | conformance_blocked_range2d.cpp | 178 std::vector<double> v2; variable 181 oneapi::tbb::blocked_range2d r1(v.begin(), v.end(), 2, v2.begin(), v2.end(), 2); 182 …decltype(r1), oneapi::tbb::blocked_range2d<decltype(v)::iterator, decltype(v2)::iterator>>::value);
|
| H A D | conformance_blocked_range3d.cpp | 216 std::vector<double> v2; variable 220 …oneapi::tbb::blocked_range3d r1(v.begin(), v.end(), 2, v2.begin(), v2.end(), 2, v3.begin(), v3.end… 222 …oneapi::tbb::blocked_range3d<decltype(v)::iterator, decltype(v2)::iterator, decltype(v3)::iterator…
|
| H A D | conformance_parallel_reduce.cpp | 83 [](const Type& v1, const Type& v2) -> Type { in TestDeterministicReductionFor() argument 85 return op.join(v1,v2); in TestDeterministicReductionFor()
|
| /oneTBB/test/tbb/ |
| H A D | test_write_once_node.cpp | 83 R v2(0); in simple_read_write_tests() local 84 CHECK_MESSAGE( n.try_get( v2 ), "" ); in simple_read_write_tests() 86 CHECK_MESSAGE( R(N+1) == v2, "" ); in simple_read_write_tests() 88 CHECK_MESSAGE( R(1) == v2, "" ); in simple_read_write_tests()
|
| H A D | test_overwrite_node.cpp | 66 R v2(0); in simple_read_write_tests() local 67 CHECK_MESSAGE( n.try_get( v2 ), "" ); in simple_read_write_tests() 68 CHECK_MESSAGE( v1 == v2, "" ); in simple_read_write_tests()
|
| H A D | test_concurrent_hash_map.cpp | 403 hash_map_type::value_type v1(key1, data1), v2(key2, data2); in TestScopedAllocator() local 405 auto init_list = { v1, v2 }; in TestScopedAllocator() 415 map2.insert(std::move(v2)); in TestScopedAllocator()
|
| H A D | test_parallel_reduce.cpp | 37 T operator() ( const T& v1, const T& v2 ) const { in operator ()() 38 return v1 + v2; in operator ()()
|
| /oneTBB/test/common/ |
| H A D | graph_utils.h | 141 OutputType v2 = (*fptr)(v); 143 return v2;
|