| /oneTBB/src/tbb/ |
| H A D | itt_notify.h | 76 #define ITT_NOTIFY(name,obj) __itt_##name(const_cast<void*>(static_cast<volatile void*>(… argument 80 #define ITT_SYNC_CREATE(obj, type, name) __itt_sync_create((void*)(obj), type, name, 2) argument 81 #define ITT_STACK_CREATE(obj) obj = __itt_stack_caller_create() argument 82 #define ITT_STACK_DESTROY(obj) (obj!=nullptr) ? __itt_stack_caller_destroy(static_cast<__i… argument 87 #define ITT_CALLEE_LEAVE(cond, obj) (cond) ? __itt_stack_callee_leave(static_cast<__itt_caller>… argument 96 #define ITT_NOTIFY(name,obj) ((void)0) argument 100 #define ITT_SYNC_CREATE(obj, type, name) ((void)0) argument 101 #define ITT_STACK_CREATE(obj) ((void)0) argument 102 #define ITT_STACK_DESTROY(obj) ((void)0) argument 103 #define ITT_CALLEE_ENTER(cond, t, obj) ((void)0) argument [all …]
|
| H A D | small_object_pool.cpp | 48 small_object* obj{nullptr}; in allocate_impl() local 52 obj = m_private_list; in allocate_impl() 56 obj = m_public_list.exchange(nullptr); in allocate_impl() 58 m_private_list = obj->next; in allocate_impl() 69 obj->~small_object(); in allocate_impl() 70 return obj; in allocate_impl() 92 obj->next = m_private_list; in deallocate_impl() 93 m_private_list = obj; in deallocate_impl() 99 obj->~small_object(); in deallocate_impl() 100 cache_aligned_deallocate(obj); in deallocate_impl() [all …]
|
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | intersect.cpp | 65 void add_object(object *obj) { in add_object() argument 68 if (obj == nullptr) in add_object() 71 obj->id = new_objectid(); in add_object() 74 rootobj = obj; in add_object() 75 obj->nextobj = objtemp; in add_object() 113 intstruct->list[0].obj = nullptr; in reset_intersection() 115 intstruct->list[1].obj = nullptr; in reset_intersection() 118 void add_intersection(flt t, object *obj, ray *ry) { in add_intersection() argument 133 intstruct->list[intstruct->num].obj = obj; in add_intersection() 145 *obj = intstruct->list[i].obj; in closest_intersection() [all …]
|
| H A D | shade.cpp | 74 object* obj; in shader() local 78 numints = closest_intersection(&t, &obj, incident->intstruct); in shader() 93 obj->methods->normal(obj, &hit, incident, &N); /* find the surface normal */ in shader() 96 col = obj->tex->texfunc(&hit, obj->tex, incident); in shader() 103 if ((obj->tex->diffuse > 0.0) || (obj->tex->phong > 0.0)) { in shader() 139 if (obj->tex->phong > 0.0) { in shader() 142 if (obj->tex->phongtype) in shader() 152 ColorScale(&diffuse, obj->tex->diffuse); in shader() 158 if (obj->tex->phong > 0.0) { in shader() 164 if (obj->tex->specular > 0.0) { in shader() [all …]
|
| H A D | bndbox.cpp | 80 static int bndbox_bbox(void *obj, vector *min, vector *max) { in bndbox_bbox() argument 81 bndbox *b = (bndbox *)obj; in bndbox_bbox() 100 object *obj; in bndbox_intersect() local 198 obj = bx->objlist; in bndbox_intersect() 199 while (obj != nullptr) { in bndbox_intersect() 200 obj->methods->intersect(obj, &newray); in bndbox_intersect() 201 obj = (object *)obj->nextobj; in bndbox_intersect()
|
| H A D | grid.cpp | 106 grid *g = (grid *)obj; in grid_bbox() 209 if (cur->obj->methods->bbox((void *)cur->obj, &min, &max)) { in cellbound() 370 newobj->obj = (object *)g; in engrid_cell() 415 if (obj->methods->bbox(obj, &omin, &omax)) { in engrid_object() 425 obj->nextobj = g->objects; in engrid_object() 426 g->objects = obj; in engrid_object() 437 tmp->obj = obj; in engrid_object() 565 cur->obj->methods->intersect(cur->obj, ry); in grid_intersect() 584 cur->obj->methods->intersect(cur->obj, ry); in grid_intersect() 603 cur->obj->methods->intersect(cur->obj, ry); in grid_intersect() [all …]
|
| H A D | grid.hpp | 60 object *obj; /* the actual object */ member 98 static int grid_bbox(void *obj, vector *min, vector *max); 104 static int engrid_object(grid *g, object *obj);
|
| H A D | cylinder.hpp | 70 static int cylinder_bbox(void *obj, vector *min, vector *max); 71 static int fcylinder_bbox(void *obj, vector *min, vector *max);
|
| H A D | extvol.cpp | 65 int extvol_bbox(void *obj, vector *min, vector *max) { in extvol_bbox() argument 66 box *b = (box *)obj; in extvol_bbox() 122 xvol->tex->obj = (void *)xvol; /* XXX hack! */ in newextvol() 168 bx = (box *)tex->obj; in ext_volume_texture() 169 xvol = (extvol *)tex->obj; in ext_volume_texture()
|
| H A D | sphere.cpp | 79 static int sphere_bbox(void *obj, vector *min, vector *max) { in sphere_bbox() argument 80 sphere *s = (sphere *)obj; in sphere_bbox()
|
| H A D | types.hpp | 154 void *obj; /* object ptr, hack for volume shaders for now */ member 172 object *obj; /* to object we hit */ member
|
| H A D | ring.cpp | 81 static int ring_bbox(void *obj, vector *min, vector *max) { in ring_bbox() argument 82 ring *r = (ring *)obj; in ring_bbox()
|
| H A D | vol.cpp | 64 int scalarvol_bbox(void *obj, vector *min, vector *max) { in scalarvol_bbox() argument 65 box *b = (box *)obj; in scalarvol_bbox() 125 tx->obj = (void *)bx; /* XXX hack! */ in newscalarvol() 172 bx = (box *)tex->obj; in scalar_volume_texture()
|
| H A D | objbound.cpp | 96 static int objinside(object *obj, vector *min, vector *max) { in objinside() argument 99 if (obj == nullptr) /* non-existent object, shouldn't get here */ in objinside() 102 if (obj->methods->bbox((void *)obj, &omin, &omax)) { in objinside()
|
| /oneTBB/examples/migration/recursive_fibonacci/ |
| H A D | task_emulation_layer.h | 152 F obj{std::forward<Args>(args)...}; in create_child_impl() 154 obj.reset_parent(this); in create_child_impl() 155 return obj; in create_child_impl() 161 obj->m_type = task_type::allocated; in allocate_child_impl() 162 obj->reset_parent(this); in allocate_child_impl() 163 return obj; in allocate_child_impl() 195 F obj{std::forward<Args>(args)...}; in create_root_task() 197 obj.reset_parent(new root_task{tg}); in create_root_task() 198 return obj; in create_root_task() 205 obj->reset_parent(new root_task{tg}); in allocate_root_task() [all …]
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | spin_mutex.h | 96 inline void set_name(spin_mutex& obj, const char* name) { in set_name() argument 97 itt_set_sync_name(&obj, name); in set_name() 100 inline void set_name(spin_mutex& obj, const wchar_t* name) { in set_name() argument 101 itt_set_sync_name(&obj, name); in set_name()
|
| H A D | profiling.h | 80 TBB_EXPORT void __TBB_EXPORTED_FUNC itt_set_sync_name(void* obj, const tchar* name); 136 inline void itt_set_sync_name(void* obj, const wchar_t* name) { in itt_set_sync_name() argument 137 r1::itt_set_sync_name(obj, name); in itt_set_sync_name() 139 inline void itt_set_sync_name(void* obj, const char* name) { in itt_set_sync_name() argument 143 r1::itt_set_sync_name(obj, obj_name); in itt_set_sync_name() 147 inline void itt_set_sync_name( void* obj, const char* name) { in itt_set_sync_name() argument 148 r1::itt_set_sync_name(obj, name); in itt_set_sync_name()
|
| H A D | queuing_mutex.h | 167 inline void set_name(queuing_mutex& obj, const char* name) { in set_name() argument 168 itt_set_sync_name(&obj, name); in set_name() 171 inline void set_name(queuing_mutex& obj, const wchar_t* name) { in set_name() argument 172 itt_set_sync_name(&obj, name); in set_name()
|
| H A D | queuing_rw_mutex.h | 144 inline void set_name(queuing_rw_mutex& obj, const char* name) { in set_name() argument 145 itt_set_sync_name(&obj, name); in set_name() 148 inline void set_name(queuing_rw_mutex& obj, const wchar_t* name) { in set_name() argument 149 itt_set_sync_name(&obj, name); in set_name()
|
| H A D | spin_rw_mutex.h | 191 inline void set_name(spin_rw_mutex& obj, const char* name) { in set_name() argument 192 itt_set_sync_name(&obj, name); in set_name() 195 inline void set_name(spin_rw_mutex& obj, const wchar_t* name) { in set_name() argument 196 itt_set_sync_name(&obj, name); in set_name()
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _rtm_mutex.h | 143 inline void set_name(rtm_mutex& obj, const char* name) { in set_name() argument 144 itt_set_sync_name(&obj, name); in set_name() 147 inline void set_name(rtm_mutex& obj, const wchar_t* name) { in set_name() argument 148 itt_set_sync_name(&obj, name); in set_name()
|
| H A D | _rtm_rw_mutex.h | 196 inline void set_name(rtm_rw_mutex& obj, const char* name) { in set_name() argument 197 itt_set_sync_name(&obj, name); in set_name() 200 inline void set_name(rtm_rw_mutex& obj, const wchar_t* name) { in set_name() argument 201 itt_set_sync_name(&obj, name); in set_name()
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_pools.cpp | 225 static char **obj; member in CrossThreadRun 232 obj = new char*[number_of_threads]; in init() 239 delete []obj; in destroy() 247 obj[id] = (char*)pool_malloc(pool[id], objLen); in operator ()() 248 REQUIRE(obj[id]); in operator ()() 249 memset(obj[id], id, objLen); in operator ()() 267 REQUIRE(myPool==obj[myPool][i]); in operator ()() 268 pool_free(pool[myPool], obj[myPool]); in operator ()() 277 char **CrossThreadRun::obj; member in CrossThreadRun 866 size_t objSize = pool_msize(pool, obj); in TestPoolMSize() [all …]
|
| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_priority_queue.cpp | 304 ForwardInEmplaceTester( ForwardInEmplaceTester&& obj, int val ) : a(obj.a) { in ForwardInEmplaceTester() 306 obj.a = val; in ForwardInEmplaceTester() 311 ForwardInEmplaceTester& operator=( ForwardInEmplaceTester&& obj ) { in operator =() 312 a = obj.a; in operator =() 369 ForwardInEmplaceTester obj(0); in test_move_support_in_push_pop() local 370 q3.try_pop(obj); in test_move_support_in_push_pop() 373 REQUIRE_MESSAGE(obj.a == 5, "Not used std::forward in emplace"); in test_move_support_in_push_pop() 374 REQUIRE_MESSAGE(!q3.try_pop(obj), "The queue should be empty"); in test_move_support_in_push_pop()
|
| /oneTBB/test/common/ |
| H A D | checktype.h | 118 std::size_t operator()( const CheckType<Counter>& obj ) const { 119 return std::size_t(obj.id());
|