| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | macros.hpp | 53 #define MYMAX(a, b) ((a) > (b) ? (a) : (b)) argument 54 #define MYMIN(a, b) ((a) < (b) ? (a) : (b)) argument 56 #define VDOT(return, a, b) return = (a.x * b.x + a.y * b.y + a.z * b.z); argument 58 #define RAYPNT(c, a, b) \ argument 63 #define VSUB(a, b, c) \ argument 68 #define VCROSS(a, b, c) \ argument
|
| H A D | vector.cpp | 54 flt VDot(vector *a, vector *b) { in VDot() 58 void VCross(vector *a, vector *b, vector *c) { in VCross() 79 void VAdd(vector *a, vector *b, vector *c) { in VAdd() 85 void VSub(vector *a, vector *b, vector *c) { in VSub() 113 void ColorAddS(color *a, color *b, flt s) { in ColorAddS() 119 void ColorAccum(color *a, color *b) { in ColorAccum()
|
| H A D | bndbox.cpp | 66 bndbox *b; in newbndbox() local 81 bndbox *b = (bndbox *)obj; in bndbox_bbox() local 90 bndbox *b = (bndbox *)v; in free_bndbox() local
|
| H A D | box.cpp | 59 box *b = (box *)obj; in box_bbox() local 73 box *b; in newbox() local 163 vector a, b, c; in box_normal() local
|
| H A D | parse.cpp | 75 static int stringcmp(const char *a, const char *b) { in stringcmp() 239 float a, b, c; in GetScenedefs() local 362 float a, b, c; in GetVector() local 373 float r, g, b; in GetColor() local 421 float a, b, c, d, phong, phongexp, phongtype; in GetTexBody() local 520 float r, g, b; in GetBackGnd() local 688 float a, b; in GetRing() local 762 float a, b; in GetLandScape() local
|
| H A D | apitrigeom.cpp | 58 #define MyVCross(a, b, c) VCross((vector *)a, (vector *)b, (vector *)c) argument 59 #define MyVAddS(x, a, b, c) VAddS((flt)x, (vector *)a, (vector *)b, (vector *)c) argument 117 void rt_tri_ring(void *tex, vector ctr, vector norm, apiflt a, apiflt b) { in rt_tri_ring()
|
| H A D | light.cpp | 84 flt b, disc, t1, t2, temp; in light_intersect() local
|
| H A D | sphere.cpp | 93 flt b, disc, t1, t2, temp; in sphere_intersect() local
|
| H A D | quadric.hpp | 54 flt b; member
|
| /oneTBB/examples/task_group/sudoku/ |
| H A D | sudoku.cpp | 68 void print_board(const std::vector<board_element>& b) { in print_board() 81 void print_potential_board(const std::vector<board_element>& b) { in print_potential_board() 97 void init_board(std::vector<board_element>& b) { in init_board() 102 void init_board(std::vector<board_element>& b, unsigned short arr[BOARD_SIZE]) { in init_board() 109 void init_potentials(std::vector<board_element>& b) { in init_potentials() 114 bool fixed_board(const std::vector<board_element>& b) { in fixed_board() 121 bool in_row(const std::vector<board_element>& b, unsigned row, unsigned col, unsigned short p) { in in_row() 144 void calculate_potentials(std::vector<board_element>& b) { in calculate_potentials() 158 bool valid_board(const std::vector<board_element>& b) { in valid_board() 172 bool examine_potentials(std::vector<board_element>& b, bool& progress) { in examine_potentials() [all …]
|
| /oneTBB/test/tbb/ |
| H A D | test_openmp.cpp | 37 void SerialConvolve( data_type c[], const data_type a[], int m, const data_type b[], int n ) { in SerialConvolve() 60 InnerBody( data_type /*c*/[], const data_type a[], const data_type b[], int ii ) : in InnerBody() 79 void OpenMP_TBB_Convolve( data_type c[], const data_type a[], int m, const data_type b[], int n, in… in OpenMP_TBB_Convolve() 109 OuterBody( data_type c[], const data_type a[], int m_, const data_type b[], int n_, int p_ ) : in OuterBody() 126 void TBB_OpenMP_Convolve( data_type c[], const data_type a[], int m, const data_type b[], int n, in… in TBB_OpenMP_Convolve()
|
| H A D | test_broadcast_node.cpp | 85 tbb::flow::broadcast_node<T> b(g); in test_serial_broadcasts() local 120 native_body( tbb::flow::broadcast_node<T> &b ) : my_b(b) {} in native_body() 131 void run_parallel_broadcasts(tbb::flow::graph& g, int p, tbb::flow::broadcast_node<T>& b) { in run_parallel_broadcasts() 159 tbb::flow::broadcast_node<T> b(g); in test_parallel_broadcasts() local
|
| H A D | test_buffer_node.cpp | 36 void spin_try_get( tbb::flow::buffer_node<T> &b, T &value ) { in spin_try_get() 154 tbb::flow::buffer_node<T> b(g); in test_reservation() local 201 tbb::flow::buffer_node<T> b(g); in test_parallel() local 319 tbb::flow::buffer_node<T> b(g); in test_serial() local
|
| H A D | test_join_node_preview.cpp | 44 auto b = [](msg_t) { return msg_t(); }; in jn_follows_and_precedes() local
|
| /oneTBB/examples/graph/cholesky/ |
| H A D | cholesky.cpp | 70 static double ***create_tile_array(double *A, int n, int b) { in create_tile_array() 165 double operator()(double *A, int n, int b, int trials) { in operator ()() 228 static void call_dpotf2(double ***tile, int b, int k) { in call_dpotf2() 236 static void call_dtrsm(double ***tile, int b, int k, int j) { in call_dtrsm() 245 static void call_dsyr2k(double ***tile, int b, int k, int j, int i) { in call_dsyr2k() 269 virtual void func(void *ptr, int n, int b) { in func() 326 int b; member in dpotf2_body 353 int b; member in dtrsm_body 390 int b; member in dsyr2k_body 469 virtual void func(void *ptr, int n, int b) { in func() [all …]
|
| /oneTBB/test/conformance/ |
| H A D | conformance_parallel_scan.cpp | 54 Body( Body& b, oneapi::tbb::split ): identity(b.identity), sum(b.identity), y(b.y), z(b.z) {} in Body() function in Body 56 void assign( Body& b ) { sum = b.sum; } in assign() 132 { in __anonb56fb5590202()
|
| /oneTBB/examples/parallel_pipeline/square/ |
| H A D | gen_input.cpp | 43 int b = 1; in gen_input() local
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_hash_map.h | 166 static void add_to_bucket( bucket* b, node_base* n ) { in add_to_bucket() 288 segment_index_type insert_new_node( bucket *b, node_base *n, hashcode_type mask ) { in insert_new_node() 469 hash_map_iterator( const Container &map, std::size_t index, const bucket *b, node_base *n ) : in hash_map_iterator() 559 auto b = my_begin.my_map->get_bucket(m); in set_midpoint() local 965 hashcode_type b = (mask+1)>>1; // size or first index of the last segment in __TBB_requires() local 1473 bucket *b = this->get_bucket( h ); in __TBB_requires() local 1516 bucket *b = this->get_bucket( h & m ); in __TBB_requires() local 1579 bucket *b = this->get_bucket( h & m ); in __TBB_requires() local 1650 …wap(concurrent_hash_map<Key, T, HashCompare, A> &a, concurrent_hash_map<Key, T, HashCompare, A> &b) in swap()
|
| /oneTBB/src/tbb/ |
| H A D | pm_client.h | 35 void set_top_priority(bool b) { in set_top_priority()
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _hash_compare.h | 80 bool equal( const Key& a, const Key& b ) const { return my_key_equal(a, b); } in equal()
|
| /oneTBB/examples/graph/logic_sim/ |
| H A D | test_all.cpp | 69 buffer b(g); in main() local 322 buffer b(g); in main() local
|
| H A D | basics.hpp | 71 gate(oneapi::tbb::flow::graph& g, Body b) in gate() 108 gate(oneapi::tbb::flow::graph& g, Body b) in gate() 146 gate(oneapi::tbb::flow::graph& g, Body b) in gate() 186 gate(oneapi::tbb::flow::graph& g, Body b) in gate() 616 oneapi::tbb::flow::continue_msg operator()(signal_t b) { in operator ()()
|
| /oneTBB/examples/test_all/fibonacci/ |
| H A D | fibonacci.cpp | 82 value a = 0, b = 1, sum; in SerialFib() local 93 value c[2][2], a[2][2] = { { 1, 1 }, { 1, 0 } }, b[2][2] = { { 1, 1 }, { 1, 0 } }; in SerialMatrixFib() local 351 parallel_reduceFibBody b; in parallel_reduceFib() local 401 parallel_scanFibBody b(output); in parallel_scanFib() local
|
| /oneTBB/examples/parallel_for/polygon_overlay/ |
| H A D | rpolygon.hpp | 45 RPolygon(int xMin, int yMin, int xMax, int yMax, int r = -1, int g = -1, int b = -1) in RPolygon() 143 bool operator<(const RPolygon &a, const RPolygon &b) { in operator <()
|
| /oneTBB/examples/graph/fgbzip2/ |
| H A D | blocksort.cpp | 124 #define fmin(a, b) ((a) < (b)) ? (a) : (b) argument 730 static __inline__ UChar mmed3(UChar a, UChar b, UChar c) { in mmed3() 745 #define mmin(a, b) ((a) < (b)) ? (a) : (b) argument 924 #define BIGFREQ(b) (ftab[((b) + 1) << 8] - ftab[(b) << 8]) argument
|