| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | triangle.cpp | 74 VSub(&v1, &v0, &edge1); in newtri() 76 VSub(&v2, &v1, &edge3); in newtri() 101 VSub(&v1, &v0, &edge1); 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 98 v1.x = wx * (xx + 1) / (m * 1.0) + xoff; in rt_heightfield() 99 v1.y = field[(yy)*m + (xx + 1)] + zoff; in rt_heightfield() 100 v1.z = wy * (yy) / (n * 1.0) + yoff; in rt_heightfield() 106 rt_tri(tex, v1, v0, v2); in rt_heightfield() 112 v1.x = wx * (xx) / (m * 1.0) + xoff; in rt_heightfield() 113 v1.y = field[(yy + 1) * m + (xx)] + zoff; in rt_heightfield() 114 v1.z = wy * (yy + 1) / (n * 1.0) + yoff; in rt_heightfield() 120 rt_tri(tex, v0, v1, v2); in rt_heightfield()
|
| H A D | parse.cpp | 365 v1->x = a; in GetVector() 366 v1->y = b; in GetVector() 367 v1->z = c; in GetVector() 707 vector v0, v1, v2; in GetTri() local 715 rc |= GetVector(dfile, &v1); in GetTri() 722 rt_tri(tex, v0, v1, v2); in GetTri() 736 rc |= GetVector(dfile, &v1); in GetSTri() 786 vector v1, v2, v0; in GetTPolyFile() local 831 Scale3d(&scale, &v1); in GetTPolyFile() 835 Rotate3d(&RotA, &v1); 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/test/tbb/ |
| H A D | test_write_once_node.cpp | 72 R v1(static_cast<R>(i)); in simple_read_write_tests() local 74 bool result = n.try_put( v1 ); in simple_read_write_tests() 118 R v1(static_cast<R>(i)); in operator ()() local 119 CHECK_MESSAGE( my_node.try_put( v1 ) == false, "" ); in operator ()() 121 CHECK_MESSAGE( my_node.try_get( v1 ) == true, "" ); in operator ()() 122 CHECK_MESSAGE( v1 == R(-1), "" ); in operator ()()
|
| H A D | test_overwrite_node.cpp | 62 R v1(static_cast<R>(i)); in simple_read_write_tests() local 63 CHECK_MESSAGE( n.try_put( v1 ), "" ); in simple_read_write_tests() 68 CHECK_MESSAGE( v1 == v2, "" ); in simple_read_write_tests() 98 R v1(static_cast<R>(i)); in operator ()() local 99 CHECK_MESSAGE( my_node.try_put( v1 ), "" ); in operator ()()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_vector.cpp | 214 v1.assign(1, 100); in TestSequentialFor() 215 REQUIRE(v1 == v2); in TestSequentialFor() 216 REQUIRE_MESSAGE((v1.size() == 1 && v1[0] == 100), "used integral iterators"); in TestSequentialFor() 326 Vector v1(vector_size,src); in TestGrowToAtLeastWithSourceParameter() local 1146 explicit throwing_foo(int v1, int v2) : value1 (v1), value2(v2) {} in throwing_foo() 1242 TVector v5(v1); in TestDeductionGuides() 1309 Vector v1, v2; in test_comparisons_basic() local 1312 v1.emplace_back(1); in test_comparisons_basic() 1321 v1.clear(); in test_comparisons_basic() 1329 v1.emplace_back(1); in test_two_way_comparable_vector() [all …]
|
| 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/include/oneapi/tbb/ |
| H A D | spin_mutex.h | 113 inline namespace v1 { 124 inline namespace v1 {
|
| H A D | task.h | 25 inline namespace v1 {
|
| H A D | spin_rw_mutex.h | 208 inline namespace v1 { 219 inline namespace v1 {
|
| H A D | null_mutex.h | 75 inline namespace v1 {
|
| H A D | null_rw_mutex.h | 82 inline namespace v1 {
|
| H A D | mutex.h | 87 inline namespace v1 {
|
| H A D | combinable.h | 62 inline namespace v1 {
|
| H A D | task_scheduler_observer.h | 110 inline namespace v1 {
|
| H A D | tick_count.h | 93 inline namespace v1 {
|
| H A D | blocked_range2d.h | 106 inline namespace v1 {
|
| H A D | info.h | 109 inline namespace v1 {
|
| H A D | tbb_allocator.h | 121 inline namespace v1 {
|
| H A D | blocked_range.h | 161 inline namespace v1 {
|
| H A D | blocked_rangeNd.h | 141 inline namespace v1 {
|
| H A D | blocked_range3d.h | 125 inline namespace v1 {
|
| H A D | queuing_mutex.h | 184 inline namespace v1 {
|
| /oneTBB/examples/graph/fgbzip2/ |
| H A D | README.md | 2 …`oneapi::tbb::flow`. The output of this application is fully compatible with bzip2 v1.0.6 or newer.
|