Home
last modified time | relevance | path

Searched refs:u (Results 1 – 22 of 22) sorted by relevance

/oneTBB/examples/parallel_for/tachyon/src/
H A Dtexture.cpp67 flt u, v; in image_cyl_texture() local
75 u = u * tex->scale.x; in image_cyl_texture()
76 u = u + tex->rot.x; in image_cyl_texture()
77 u = fmod(u, 1.0); in image_cyl_texture()
93 flt u, v; in image_sphere_texture() local
101 u = u * tex->scale.x; in image_sphere_texture()
102 u = u + tex->rot.x; in image_sphere_texture()
103 u = fmod(u, 1.0); in image_sphere_texture()
133 u = u * tex->scale.x; in image_plane_texture()
134 u = u + tex->rot.x; in image_plane_texture()
[all …]
H A Dcoordsys.cpp54 void xytopolar(flt x, flt y, flt rad, flt* u, flt* v) { in xytopolar() argument
59 *u = 1.0 - acos(x / sqrt(r1)) / TWOPI; in xytopolar()
61 *u = acos(x / sqrt(r1)) / TWOPI; in xytopolar()
64 void xyztocyl(vector pnt, flt height, flt* u, flt* v) { in xyztocyl() argument
71 *u = 1.0 - acos(pnt.x / sqrt(r1)) / TWOPI; in xyztocyl()
73 *u = acos(pnt.x / sqrt(r1)) / TWOPI; in xyztocyl()
76 void xyztospr(vector pnt, flt* u, flt* v) { in xyztospr() argument
87 *u = theta; in xyztospr()
89 *u = 1 - theta; in xyztospr()
H A Dimap.cpp74 color ImageMap(rawimage *image, flt u, flt v) { in ImageMap() argument
86 if ((u <= 1.0) && (u >= 0.0) && (v <= 1.0) && (v >= 0.0)) { in ImageMap()
87 x = (image->xres - 1.0) * u; /* floating point X location */ in ImageMap()
H A Dapitrigeom.cpp67 double u, v, u2, v2; in rt_tri_fcylinder() local
85 u = rad * sin((6.28 * j) / (CYLFACETS - 1.0)); in rt_tri_fcylinder()
93 MyVAddS(u, &x, &p1, &p1); in rt_tri_fcylinder()
119 double u, v, u2, v2; in rt_tri_ring() local
137 u = sin((6.28 * j) / (RINGFACETS - 1.0)); in rt_tri_ring()
145 MyVAddS(u, &x, &p1, &p1); in rt_tri_ring()
H A Dtriangle.cpp159 flt det, inv_det, t, u, v; in tri_intersect() local
176 u = DOT(tvec, pvec) * inv_det; in tri_intersect()
177 if (u < 0.0 || u > 1.0) in tri_intersect()
185 if (v < 0.0 || u + v > 1.0) in tri_intersect()
/oneTBB/doc/
H A Dconf.py29 project = u'Intel® oneAPI Threading Building Blocks (oneTBB)'
31 project = u'oneTBB'
32 copyright = u'2023, Intel Corporation'
33 author = u'Intel'
36 version = u''
38 release = u''
267 (master_doc, 'sphinx-infodev', u'sphinx-infodev Documentation',
278 (master_doc, 'sphinx-infodev', u'sphinx-infodev Documentation',
/oneTBB/examples/parallel_for/seismic/
H A Dmain.cpp30 Universe u; variable
76 SeismicVideo video(u, options.numberOfFrames, options.threads.last, options.parallel); in main()
79 if (video.init_window(u.UniverseWidth, u.UniverseHeight)) { in main()
83 u.InitializeUniverse(video); in main()
97 u.InitializeUniverse(video); in main()
103 u.SerialUpdateUniverse(); in main()
110 u.ParallelUpdateUniverse(); in main()
H A Duniverse.cpp168 UpdateStressBody(Universe& u) : u_(u) {} in UpdateStressBody()
196 UpdateVelocityBody(Universe& u) : u_(u) {} in UpdateVelocityBody()
H A Dseismic_video.cpp66 SeismicVideo::SeismicVideo(Universe &u, in SeismicVideo() argument
72 u_(u), in SeismicVideo()
H A Dseismic_video.hpp48 SeismicVideo(Universe &u, int numberOfFrames, int threadsHigh, bool initIsParallel = true);
/oneTBB/test/conformance/
H A Dconformance_concurrent_vector.cpp45 CHECK((u[i].bar()==i)); in CheckConstIterator()
51 V u2 = u; in CheckIteratorComparison()
52 Iterator1 i = u.begin(); in CheckIteratorComparison()
110 const V& u = v; in TestSequentialFor() local
123 cp = u.end(); in TestSequentialFor()
142 cp = u.begin(); in TestSequentialFor()
304 v.swap(u); in TestCopyAssignment()
306 u.swap(v); in TestCopyAssignment()
308 v = u; in TestCopyAssignment()
310 u.clear(); in TestCopyAssignment()
[all …]
H A Dconformance_blocked_range.cpp45 std::size_t operator-( const AbstractValueType& u, const AbstractValueType& v ) { in operator -() argument
46 return GetValueOf(u) - GetValueOf(v); in operator -()
49 bool operator<( const AbstractValueType& u, const AbstractValueType& v ) { in operator <() argument
50 return GetValueOf(u) < GetValueOf(v); in operator <()
53 AbstractValueType operator+( const AbstractValueType& u, std::size_t offset ) { in operator +() argument
54 return MakeAbstractValueType(GetValueOf(u) + int(offset)); in operator +()
H A Dconformance_blocked_range2d.cpp52 bool operator<( const AbstractValueType<Tag>& u, const AbstractValueType<Tag>& v ) { in operator <() argument
53 return GetValueOf(u)<GetValueOf(v); in operator <()
57 std::size_t operator-( const AbstractValueType<Tag>& u, const AbstractValueType<Tag>& v ) { in operator -() argument
58 return GetValueOf(u)-GetValueOf(v); in operator -()
62 AbstractValueType<Tag> operator+( const AbstractValueType<Tag>& u, std::size_t offset ) { in operator +() argument
63 return MakeAbstractValueType<Tag>(GetValueOf(u)+int(offset)); in operator +()
H A Dconformance_blocked_range3d.cpp54 bool operator<( const AbstractValueType<Tag>& u, const AbstractValueType<Tag>& v ) { in operator <() argument
55 return GetValueOf(u)<GetValueOf(v); in operator <()
59 std::size_t operator-( const AbstractValueType<Tag>& u, const AbstractValueType<Tag>& v ) { in operator -() argument
60 return GetValueOf(u)-GetValueOf(v); in operator -()
64 AbstractValueType<Tag> operator+( const AbstractValueType<Tag>& u, std::size_t offset ) { in operator +() argument
65 return MakeAbstractValueType<Tag>(GetValueOf(u)+int(offset)); in operator +()
H A Dconformance_blocked_rangeNd.cpp51 std::size_t operator-(const AbstractValueType& u, const AbstractValueType& v) { in operator -() argument
52 return GetValueOf(u) - GetValueOf(v); in operator -()
55 bool operator<(const AbstractValueType& u, const AbstractValueType& v) { in operator <() argument
56 return GetValueOf(u) < GetValueOf(v); in operator <()
59 AbstractValueType operator+(const AbstractValueType& u, std::size_t offset) { in operator +() argument
60 return MakeAbstractValue(GetValueOf(u) + int(offset)); in operator +()
H A Dconformance_concurrent_hash_map.cpp371 test_table_type const &u = v; in TestIteratorsAndRanges() local
373 TestIteratorAssignment<test_table_type::const_iterator>( u.begin() ); in TestIteratorsAndRanges()
380 CHECK(u.equal_range(MyKey::make(-1)) == std::make_pair(u.end(), u.end())); in TestIteratorsAndRanges()
383 TestRangeAssignment<test_table_type::const_range_type>( u.range() ); in TestIteratorsAndRanges()
/oneTBB/examples/concurrent_priority_queue/shortpath/
H A Dshortpath.cpp100 bool operator()(const vertex_rec& u, const vertex_rec& v) const { in operator ()()
101 return u.second > v.second; in operator ()()
125 vertex_id u = u_rec.first; in shortpath_helper() local
126 if (u == dst) in shortpath_helper()
131 oneapi::tbb::spin_mutex::scoped_lock l(locks[u]); in shortpath_helper()
132 if (f > f_distance[u]) in shortpath_helper()
134 old_g_u = g_distance[u]; in shortpath_helper()
136 for (std::size_t i = 0; i < edges[u].size(); ++i) { in shortpath_helper()
137 vertex_id v = edges[u][i]; in shortpath_helper()
138 double new_g_v = old_g_u + get_distance(vertices[u], vertices[v]); in shortpath_helper()
[all …]
/oneTBB/examples/graph/cholesky/
H A Dcholesky.cpp559 u[k] = new continue_ptr_type *[p]; in func()
566 u[k][j] = new continue_ptr_type[p]; in func()
574 make_edge(*u[k][j][i], *u[k + 1][j][i]); in func()
577 make_edge(*t[k][j], *u[k][j][i]); in func()
580 make_edge(*t[k][i], *u[k][j][i]); in func()
584 make_edge(*u[k][j][i], *t[i][j]); in func()
590 make_edge(*u[k][k + 1][k + 1], *c[k + 1]); in func()
600 delete u[k][j][i]; in func()
603 delete[] u[k][j]; in func()
607 delete[] u[k]; in func()
[all …]
/oneTBB/examples/common/gui/
H A Dvideo.hpp184 unsigned y, u, v; in get_color() local
186 u = (2048 + (blue << 3) - (y >> 5)) >> 4; // (limit->2^12)>>4 in get_color()
189 return u | (y << 8) | (v << 16) | (y << 24); in get_color()
/oneTBB/examples/graph/fgbzip2/
H A Dcompress.cpp117 static void bsPutUInt32(EState* s, UInt32 u) { in bsPutUInt32() argument
118 bsW(s, 8, (u >> 24) & 0xffL); in bsPutUInt32()
119 bsW(s, 8, (u >> 16) & 0xffL); in bsPutUInt32()
120 bsW(s, 8, (u >> 8) & 0xffL); in bsPutUInt32()
121 bsW(s, 8, u & 0xffL); in bsPutUInt32()
/oneTBB/include/oneapi/tbb/detail/
H A D_template_helpers.h58 template <unsigned u, unsigned long long ull >
62 …static const std::size_t value = static_cast<std::size_t>((sizeof(std::size_t)==sizeof(u)) ? u : u…
H A D_machine.h84 unsigned char dummy = 0u; in atomic_fence_seq_cst()