| /oneTBB/examples/parallel_for/tachyon/src/ |
| 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() 64 flt VLength(vector *a) { in VLength() 68 void VNorm(vector *a) { in VNorm() 79 void VAdd(vector *a, vector *b, vector *c) { in VAdd() 85 void VSub(vector *a, vector *b, vector *c) { in VSub() 97 vector Raypnt(ray *a, flt t) { in Raypnt() 107 void VScale(vector *a, flt s) { in VScale() 113 void ColorAddS(color *a, color *b, flt s) { in ColorAddS() 119 void ColorAccum(color *a, color *b) { in ColorAccum() [all …]
|
| 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 | 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 421 float a, b, c, d, phong, phongexp, phongtype; in GetTexBody() local 501 float a; in GetLight() local 535 float a; in GetCylinder() local 557 float a; in GetFCylinder() local 584 float a; in GetPolyCylinder() local 613 float a; in GetSphere() local 688 float a, b; in GetRing() local [all …]
|
| H A D | apitrigeom.cpp | 57 #define MyVNorm(a) VNorm((vector *)a) argument 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 | box.cpp | 86 flt a, tx1, tx2, ty1, ty2, tz1, tz2; in box_intersect() local 163 vector a, b, c; in box_normal() local
|
| /oneTBB/src/tbb/ |
| H A D | task_dispatcher.cpp | 24 static inline void spawn_and_notify(d1::task& t, arena_slot* slot, arena* a) { in spawn_and_notify() 33 arena* a = tls->my_arena; in spawn() local 45 arena* a = tls->my_arena; in spawn() local 77 void __TBB_EXPORTED_FUNC submit(d1::task& t, d1::task_group_context& ctx, arena* a, std::uintptr_t … in submit() 215 arena* a = m_thread_data->my_arena; in co_local_wait_for_all() local 236 void task_dispatcher::init_suspend_point(arena* a, std::size_t stack_size) { in init_suspend_point()
|
| H A D | task_dispatcher.h | 94 inline suspend_point_type::suspend_point_type(arena* a, size_t stack_size, task_dispatcher& task_di… in suspend_point_type() 114 inline task_dispatcher::task_dispatcher(arena* a) { in task_dispatcher() 147 execution_data_ext& ed, arena& a, task_stream<front_accessor>& stream, unsigned& hint, in get_stream_or_critical_task() 159 execution_data_ext& ed, arena& a, unsigned arena_index, FastRandom& random, in steal_or_get_critical() 179 arena& a = *tls.my_arena; in receive_or_steal_task() local 408 arena& a = *td.my_arena; in get_critical_task() local
|
| H A D | waiters.h | 33 …waiter_base(arena& a, int yields_multiplier = 1) : my_arena(a), my_backoff(int(a.my_num_slots), yi… in my_arena() argument 123 external_waiter(arena& a, d1::wait_context& wo) in external_waiter()
|
| H A D | thread_dispatcher_client.h | 29 …thread_dispatcher_client(arena& a, std::uint64_t aba_epoch) : my_arena(a), my_aba_epoch(aba_epoch)… in thread_dispatcher_client()
|
| H A D | arena.cpp | 455 arena& a = arena::allocate_arena(control, num_slots, num_reserved_slots, arena_priority_level); in create() local 560 …arena& a = arena::create(thr_control, unsigned(ta.my_max_concurrency), ta.my_num_reserved_slots, p… in initialize() local 570 arena* a = ta.my_arena.load(std::memory_order_relaxed); in terminate() local 581 arena* a = td->my_arena; in attach() local 601 arena* a = ta ? in enqueue() local 741 arena* a = ta.my_arena.load(std::memory_order_relaxed); in execute() local 807 arena* a = ta.my_arena.load(std::memory_order_relaxed); in wait() local 820 arena* a = nullptr; in max_concurrency() local
|
| H A D | market.cpp | 29 tbb_permit_manager_client(arena& a) : pm_client(a) {} in tbb_permit_manager_client() 48 pm_client* market::create_client(arena& a) { in create_client()
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_regression.cpp | 31 tbb::scalable_allocator<char> a; in operator ()() local 56 tbb::scalable_allocator<char> a; in TestBootstrapLeak() local 128 for (int a=0; align[a]; a++) in TestAlignedMsize() local 178 for (size_t a=1, b=1, sum=1; sum<=64*1024; ) { variable 184 for (size_t a=2; a<=64*1024; a*=2) { variable
|
| /oneTBB/test/common/ |
| H A D | allocator_stl_test_common.h | 25 void TestSequence(const typename Container::allocator_type &a) { in TestSequence() 41 void TestSet(const typename Set::allocator_type &a) { in TestSet() 52 void TestMap(const typename Map::allocator_type &a) { in TestMap()
|
| H A D | allocator_test_common.h | 107 void TestBrokenAllocator(A& a) { in TestBrokenAllocator() 171 void TestAllocatorConcept(A& a) { in TestAllocatorConcept() 193 void TestAllocatorExceptions(A& a) { in TestAllocatorExceptions() 226 A &a; member 270 void TestThreadSafety(A &a) { in TestThreadSafety()
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _hash_compare.h | 74 std::size_t hash( const Key& a ) const { return my_hash_func(a); } in hash() 80 bool equal( const Key& a, const Key& b ) const { return my_key_equal(a, b); } in equal()
|
| /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_enumerable_thread_specific.cpp | 100 flogged_ets *a; member in set_body 113 void do_std_threads( int max_threads, flogged_ets a[] ) { in do_std_threads() 137 flogged_ets* a = new flogged_ets[VALID_NUMBER_OF_KEYS]; in flog_key_creation_and_deletion() local 159 flogged_ets* a = new flogged_ets[VALID_NUMBER_OF_KEYS]; in flog_key_creation_and_deletion() local 333 int a = 1; in align_val() local
|
| H A D | test_task_arena.cpp | 290 tbb::task_arena a(1,0); in TestMultipleMasters() local 299 tbb::task_arena a(2,1); in TestMultipleMasters() local 310 tbb::task_arena a(p,1); in TestMultipleMasters() local 420 tbb::task_arena a(2, 1); in TestArenaEntryConsistency() local 473 tbb::task_arena a( p, reserved ); in TestArenaConcurrency() local 528 tbb::task_arena a(1); in TestMandatoryConcurrency() local 681 tbb::task_arena a; in TestConstantFunctorRequirement() local 1064 tbb::task_arena a(2,0); in TestDelegatedSpawnWait() local 1117 tbb::task_arena a( num_threads ); in TestMultipleWaits() local 1171 tbb::task_arena a; in TestSmallStackSize() local [all …]
|
| /oneTBB/test/conformance/ |
| H A D | conformance_task_arena.cpp | 39 oneapi::tbb::task_arena a(1,1); a.initialize(); variable 85 conformance_observer( oneapi::tbb::task_arena &a ) : oneapi::tbb::task_scheduler_observer(a) { in conformance_observer() 110 oneapi::tbb::task_arena a; a.initialize(); variable
|
| H A D | conformance_concurrent_hash_map.cpp | 224 typename test_table_type::accessor a; in FillTable() local 408 YourTable2::accessor a; in TestIteratorsAndRanges() local 489 allocator_type a; in TestExceptions() local 610 DataStateTrackedTable::accessor a; in apply() local 622 Accessor a; in apply_impl() local 658 test_table_type::accessor a; in apply() local 666 test_table_type::accessor a; in apply() local 680 test_table_type::accessor a; in apply() local 702 test_table_type::const_accessor a; in apply() local 785 test_table_type::accessor a; in apply() local [all …]
|
| H A D | conformance_parallel_scan.cpp | 55 void reverse_join( Body& a ) { sum = Op()(a.sum, sum); } in reverse_join() 132 { in __anonb56fb5590202()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_queue.h | 74 explicit concurrent_queue(const allocator_type& a) : in concurrent_queue() 88 concurrent_queue(a) in concurrent_queue() argument 98 concurrent_queue(const concurrent_queue& src, const allocator_type& a) : in concurrent_queue() 117 concurrent_queue(concurrent_queue&& src, const allocator_type& a) : in concurrent_queue() 349 explicit concurrent_bounded_queue( const allocator_type& a ) : in concurrent_bounded_queue() 366 concurrent_bounded_queue(a) in concurrent_bounded_queue() argument 376 concurrent_bounded_queue( const concurrent_bounded_queue& src, const allocator_type& a ) : in concurrent_bounded_queue() 395 concurrent_bounded_queue( concurrent_bounded_queue&& src, const allocator_type& a ) : in concurrent_bounded_queue()
|
| H A D | task_scheduler_observer.h | 85 explicit task_scheduler_observer(task_arena& a) : my_task_arena(&a) {} in task_scheduler_observer()
|
| /oneTBB/examples/parallel_pipeline/square/ |
| H A D | gen_input.cpp | 42 int a = 0; in gen_input() local
|
| /oneTBB/examples/common/utility/ |
| H A D | fast_random.hpp | 34 std::size_t x, a; member in utility::FastRandom
|