Home
last modified time | relevance | path

Searched refs:task_data (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/openmp/tools/multiplex/tests/custom_data_storage/
Dfirst-tool.h61 ompt_data_t *task_data, in on_cds_ompt_callback_sync_region() argument
64 task_data = get_own_ompt_data(task_data); in on_cds_ompt_callback_sync_region()
65 on_ompt_callback_sync_region(kind, endpoint, parallel_data, task_data, in on_cds_ompt_callback_sync_region()
71 ompt_data_t *parallel_data, ompt_data_t *task_data, in on_cds_ompt_callback_sync_region_wait() argument
74 task_data = get_own_ompt_data(task_data); in on_cds_ompt_callback_sync_region_wait()
75 on_ompt_callback_sync_region_wait(kind, endpoint, parallel_data, task_data, in on_cds_ompt_callback_sync_region_wait()
85 static void on_cds_ompt_callback_cancel(ompt_data_t *task_data, int flags, in on_cds_ompt_callback_cancel() argument
87 task_data = get_own_ompt_data(task_data); in on_cds_ompt_callback_cancel()
88 on_ompt_callback_cancel(task_data, flags, codeptr_ra); in on_cds_ompt_callback_cancel()
93 ompt_data_t *task_data, in on_cds_ompt_callback_implicit_task() argument
[all …]
/external/llvm-project/openmp/tools/multiplex/
Dompt-multiplex.h255 ompt_data_t *task_data, in ompt_multiplex_callback_sync_region() argument
260 ompt_multiplex_get_own_task_data(task_data), codeptr_ra); in ompt_multiplex_callback_sync_region()
265 ompt_multiplex_get_client_task_data(task_data), codeptr_ra); in ompt_multiplex_callback_sync_region()
271 ompt_data_t *parallel_data, ompt_data_t *task_data, in ompt_multiplex_callback_sync_region_wait() argument
276 ompt_multiplex_get_own_task_data(task_data), codeptr_ra); in ompt_multiplex_callback_sync_region_wait()
281 ompt_multiplex_get_client_task_data(task_data), codeptr_ra); in ompt_multiplex_callback_sync_region_wait()
297 static void ompt_multiplex_callback_cancel(ompt_data_t *task_data, int flags, in ompt_multiplex_callback_cancel() argument
301 ompt_multiplex_get_own_task_data(task_data), flags, codeptr_ra); in ompt_multiplex_callback_cancel()
305 ompt_multiplex_get_client_task_data(task_data), flags, codeptr_ra); in ompt_multiplex_callback_cancel()
311 ompt_data_t *task_data, unsigned int team_size, unsigned int thread_num, in ompt_multiplex_callback_implicit_task() argument
[all …]
/external/llvm-project/openmp/runtime/test/ompt/
Dcallback.h105 ompt_data_t *task_data; in print_ids() local
106 int exists_task = ompt_get_task_info(level, &task_type, &task_data, &frame, in print_ids()
116 exists_task ? task_data->value : 0, frame->exit_frame.ptr, in print_ids()
407 ompt_data_t *task_data, in on_ompt_callback_sync_region() argument
426 task_data->value, codeptr_ra); in on_ompt_callback_sync_region()
434 task_data->value, codeptr_ra); in on_ompt_callback_sync_region()
441 task_data->value, codeptr_ra); in on_ompt_callback_sync_region()
464 (parallel_data) ? parallel_data->value : 0, task_data->value, in on_ompt_callback_sync_region()
472 (parallel_data) ? parallel_data->value : 0, task_data->value, in on_ompt_callback_sync_region()
480 (parallel_data) ? parallel_data->value : 0, task_data->value, in on_ompt_callback_sync_region()
[all …]
/external/llvm-project/openmp/runtime/src/
Dkmp_cancel.cpp58 ompt_data_t *task_data; in __kmpc_cancel() local
59 __ompt_get_task_info_internal(0, NULL, &task_data, NULL, NULL, in __kmpc_cancel()
69 task_data, type | ompt_cancel_activated, in __kmpc_cancel()
96 ompt_data_t *task_data; in __kmpc_cancel() local
97 __ompt_get_task_info_internal(0, NULL, &task_data, NULL, NULL, in __kmpc_cancel()
100 task_data, ompt_cancel_taskgroup | ompt_cancel_activated, in __kmpc_cancel()
165 ompt_data_t *task_data; in __kmpc_cancellationpoint() local
166 __ompt_get_task_info_internal(0, NULL, &task_data, NULL, NULL, in __kmpc_cancellationpoint()
176 task_data, type | ompt_cancel_detected, in __kmpc_cancellationpoint()
206 ompt_data_t *task_data; in __kmpc_cancellationpoint() local
[all …]
Dkmp_taskdeps.cpp229 sink_data = &(KMP_TASK_TO_TASKDATA(sink_task)->ompt_task_info.task_data); in __kmp_track_dependence()
231 sink_data = &__kmp_threads[gtid]->th.ompt_thread_info.task_data; in __kmp_track_dependence()
234 &(task_source->ompt_task_info.task_data), sink_data); in __kmp_track_dependence()
527 ompt_data_t task_data = ompt_data_none; in __kmpc_omp_task_with_deps() local
529 current_task ? &(current_task->ompt_task_info.task_data) : &task_data, in __kmpc_omp_task_with_deps()
531 &(new_taskdata->ompt_task_info.task_data), in __kmpc_omp_task_with_deps()
575 &(new_taskdata->ompt_task_info.task_data), ompt_deps, ompt_ndeps); in __kmpc_omp_task_with_deps()
644 ompt_data_t task_data = ompt_data_none; in __ompt_taskwait_dep_finish() local
646 current_task ? &(current_task->ompt_task_info.task_data) : &task_data, in __ompt_taskwait_dep_finish()
650 current_task ? &(current_task->ompt_task_info.task_data) : &task_data); in __ompt_taskwait_dep_finish()
[all …]
Dompt-specific.cpp261 lwt->ompt_task_info.task_data.value = 0; in __ompt_lw_taskteam_init()
329 ompt_data_t **task_data, in __ompt_get_task_info_internal() argument
406 if (task_data) { in __ompt_get_task_info_internal()
407 *task_data = info ? &info->task_data : NULL; in __ompt_get_task_info_internal()
Dompt-internal.h57 ompt_data_t task_data; member
76 ompt_data_t task_data; /* stored here from implicit barrier-begin until member
Dompt-general.cpp478 ompt_data_t *task_data; local
480 __ompt_get_task_info_internal(0, NULL, &task_data, NULL, &parallel_data, NULL);
483 ompt_scope_begin, parallel_data, task_data, 1, 1, ompt_task_initial);
627 ompt_data_t **task_data, argument
633 return __ompt_get_task_info_internal(ancestor_level, type, task_data,
Dompt-specific.h43 ompt_data_t **task_data,
62 (&(thr->th.th_current_task->ompt_task_info.task_data))
Dkmp_tasking.cpp550 task->ompt_task_info.task_data.value = 0; in __ompt_task_init()
571 &(current_task->ompt_task_info.task_data), status, in __ompt_task_start()
572 &(taskdata->ompt_task_info.task_data)); in __ompt_task_start()
591 &(taskdata->ompt_task_info.task_data), status, in __ompt_task_finish()
592 (resumed_task ? &(resumed_task->ompt_task_info.task_data) : NULL)); in __ompt_task_finish()
634 &(parent_info->task_data), &(parent_info->frame), in __kmpc_omp_task_begin_if0_template()
635 &(taskdata->ompt_task_info.task_data), in __kmpc_omp_task_begin_if0_template()
1486 ompt_data_t *task_data; in __kmp_invoke_task() local
1488 __ompt_get_task_info_internal(0, NULL, &task_data, NULL, NULL, NULL); in __kmp_invoke_task()
1490 task_data, in __kmp_invoke_task()
[all …]
Dkmp_sched.cpp181 &(task_info->task_data), 0, codeptr); in __kmp_for_static_init()
230 &(task_info->task_data), *pstride, codeptr); in __kmp_for_static_init()
260 &(task_info->task_data), *pstride, codeptr); in __kmp_for_static_init()
419 &(task_info->task_data), trip_count, codeptr); in __kmp_for_static_init()
Dkmp_runtime.cpp1201 &(parent_task_info->task_data), &(parent_task_info->frame), in __kmp_serialized_parallel()
1776 &(task_info->task_data), 1, in __kmp_fork_call()
1805 ompt_scope_end, NULL, &(task_info->task_data), 1, in __kmp_fork_call()
1847 ompt_scope_end, NULL, &(task_info->task_data), 0, in __kmp_fork_call()
1914 ompt_scope_end, NULL, &(task_info->task_data), 1, in __kmp_fork_call()
2281 parallel_data, &(task_info->task_data), flags, codeptr); in __kmp_join_ompt()
2417 ompt_scope_end, NULL, &(task_info->task_data), ompt_team_size, in __kmp_join_call()
2421 task_info->task_data = ompt_data_none; in __kmp_join_call()
2499 ompt_scope_end, NULL, &(task_info->task_data), ompt_team_size, in __kmp_join_call()
2503 task_info->task_data = ompt_data_none; in __kmp_join_call()
[all …]
Dkmp_csupport.cpp768 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), in __kmpc_master()
812 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), in __kmpc_end_master()
1735 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), in __kmpc_single()
1743 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), in __kmpc_single()
1748 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), in __kmpc_single()
1781 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), 1, in __kmpc_end_single()
1819 &(task_info->task_data), 0, OMPT_GET_RETURN_ADDRESS(0)); in __kmpc_for_static_fini()
4091 &(OMPT_CUR_TASK_INFO(th)->task_data), deps, num_dims); in __kmpc_doacross_wait()
4158 &(OMPT_CUR_TASK_INFO(th)->task_data), deps, num_dims); in __kmpc_doacross_post()
Dkmp_barrier.cpp1740 this_thr->th.ompt_thread_info.task_data = *OMPT_CUR_TASK_DATA(this_thr); in __kmp_join_barrier()
2004 ompt_data_t *task_data = (team) in __kmp_fork_barrier() local
2006 : &(this_thr->th.ompt_thread_info.task_data); in __kmp_fork_barrier()
2016 ompt_sync_region_barrier_implicit, ompt_scope_end, NULL, task_data, in __kmp_fork_barrier()
2021 ompt_sync_region_barrier_implicit, ompt_scope_end, NULL, task_data, in __kmp_fork_barrier()
2027 …ompt_scope_end, NULL, task_data, 0, ds_tid, ompt_task_implicit); // TODO: Can this be ompt_task_in… in __kmp_fork_barrier()
Dkmp_wait_release.h271 tId = &(team->ompt_task_info.task_data); in __kmp_wait_template()
276 tId = &(this_thr->th.ompt_thread_info.task_data); in __kmp_wait_template()
Dkmp_gsupport.cpp206 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), in KMP_EXPAND_NAME()
214 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), in KMP_EXPAND_NAME()
219 &(team->t.t_implicit_task_taskdata[tid].ompt_task_info.task_data), in KMP_EXPAND_NAME()
466 …&(task_info->task_data), ompt_team_size, __kmp_tid_from_gtid(gtid), ompt_task_implicit); // TODO: … in __kmp_GOMP_fork_call()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/
Dprotocol_lws_minimal_threadpool.c40 struct task_data { struct
60 static struct task_data *
63 struct task_data *priv = malloc(sizeof(*priv)); in create_task_private_data()
78 struct task_data *priv = (struct task_data *)user; in cleanup_task_private_data()
99 struct task_data *priv = (struct task_data *)user; in task_function()
144 struct task_data *priv; in callback_minimal()
275 priv = (struct task_data *)_user; in callback_minimal()
/external/llvm-project/openmp/runtime/test/ompt/synchronization/barrier/
Dimplicit_task_data.c76 ompt_data_t *task_data, in on_ompt_callback_sync_region() argument
82 task_data->value = ompt_get_unique_id(); in on_ompt_callback_sync_region()
84 … codeptr_ra=%p\n", ompt_get_thread_data()->value, parallel_data->value, task_data->value, codeptr_… in on_ompt_callback_sync_region()
88 … ompt_get_thread_data()->value, (parallel_data)?parallel_data->value:0, task_data->value, codeptr_… in on_ompt_callback_sync_region()
101 ompt_data_t *task_data, in on_ompt_callback_sync_region_wait() argument
112 task_data->value, codeptr_ra); in on_ompt_callback_sync_region_wait()
116 … ompt_get_thread_data()->value, (parallel_data)?parallel_data->value:0, task_data->value, codeptr_… in on_ompt_callback_sync_region_wait()
/external/llvm-project/openmp/runtime/test/ompt/tasks/
Dtask_memory.c26 ompt_data_t *task_data, in on_ompt_callback_implicit_task() argument
34 task_data->value = ompt_get_unique_id(); in on_ompt_callback_implicit_task()
37 task_data->value, addr, size, result); in on_ompt_callback_implicit_task()
42 task_data->value, addr, size, result); in on_ompt_callback_implicit_task()
/external/llvm-project/openmp/tools/archer/
Dompt-tsan.cpp485 static inline TaskData *ToTaskData(ompt_data_t *task_data) { in ToTaskData() argument
486 return reinterpret_cast<TaskData *>(task_data->ptr); in ToTaskData()
534 ompt_data_t *task_data, int flag, in ompt_tsan_parallel_end() argument
536 if (archer_flags->ignore_serial && ToTaskData(task_data)->isInitial()) in ompt_tsan_parallel_end()
554 ompt_data_t *task_data, in ompt_tsan_implicit_task() argument
562 task_data->ptr = new TaskData(ToParallelData(parallel_data), type); in ompt_tsan_implicit_task()
567 TaskData *Data = ToTaskData(task_data); in ompt_tsan_implicit_task()
586 ompt_data_t *task_data, in ompt_tsan_sync_region() argument
588 TaskData *Data = ToTaskData(task_data); in ompt_tsan_sync_region()
695 ompt_data_t *task_data, in ompt_tsan_reduction() argument
[all …]
/external/adhd/cras/src/server/
Dcras_system_state.c81 void *task_data);
82 void *task_data; member
526 void *task_data), in cras_system_set_add_task_handler() argument
527 void *task_data) in cras_system_set_add_task_handler()
533 state.task_data = task_data; in cras_system_set_add_task_handler()
542 return state.add_task(callback, callback_data, state.task_data); in cras_system_add_task()
Dcras_system_state.h228 void *task_data),
229 void *task_data);
/external/adhd/cras/src/tests/
Dsystem_state_unittest.cc87 void* task_data) { in add_task_stub() argument
89 task_data_value = task_data; in add_task_stub()
358 void* task_data = reinterpret_cast<void*>(33); in TEST() local
365 rc = cras_system_set_add_task_handler(add_task_stub, task_data); in TEST()
371 EXPECT_EQ(task_data, task_data_value); in TEST()
/external/llvm-project/openmp/runtime/src/include/
Domp-tools.h.var611 ompt_data_t **task_data,
749 ompt_data_t *task_data,
765 ompt_data_t *task_data,
795 ompt_data_t *task_data,
831 ompt_data_t *task_data,
849 ompt_data_t *task_data,
866 ompt_data_t *task_data,
928 ompt_data_t *task_data,
1009 ompt_data_t *task_data,
1019 ompt_data_t *task_data,
/external/llvm-project/openmp/runtime/test/ompt/synchronization/
Dmaster.c29 ompt_data_t *task_data, in on_ompt_callback_master() argument

12