Changeset View
Changeset View
Standalone View
Standalone View
openmp/runtime/src/kmp_tasking.cpp
Show First 20 Lines • Show All 545 Lines • ▼ Show 20 Lines | |||||
static inline void __ompt_task_init(kmp_taskdata_t *task, int tid) { | static inline void __ompt_task_init(kmp_taskdata_t *task, int tid) { | ||||
// The calls to __ompt_task_init already have the ompt_enabled condition. | // The calls to __ompt_task_init already have the ompt_enabled condition. | ||||
task->ompt_task_info.task_data.value = 0; | task->ompt_task_info.task_data.value = 0; | ||||
task->ompt_task_info.frame.exit_frame = ompt_data_none; | task->ompt_task_info.frame.exit_frame = ompt_data_none; | ||||
task->ompt_task_info.frame.enter_frame = ompt_data_none; | task->ompt_task_info.frame.enter_frame = ompt_data_none; | ||||
task->ompt_task_info.frame.exit_frame_flags = ompt_frame_runtime | ompt_frame_framepointer; | task->ompt_task_info.frame.exit_frame_flags = ompt_frame_runtime | ompt_frame_framepointer; | ||||
task->ompt_task_info.frame.enter_frame_flags = ompt_frame_runtime | ompt_frame_framepointer; | task->ompt_task_info.frame.enter_frame_flags = ompt_frame_runtime | ompt_frame_framepointer; | ||||
task->ompt_task_info.ndeps = 0; | |||||
task->ompt_task_info.deps = NULL; | |||||
} | } | ||||
// __ompt_task_start: | // __ompt_task_start: | ||||
// Build and trigger task-begin event | // Build and trigger task-begin event | ||||
static inline void __ompt_task_start(kmp_task_t *task, | static inline void __ompt_task_start(kmp_task_t *task, | ||||
kmp_taskdata_t *current_task, | kmp_taskdata_t *current_task, | ||||
kmp_int32 gtid) { | kmp_int32 gtid) { | ||||
kmp_taskdata_t *taskdata = KMP_TASK_TO_TASKDATA(task); | kmp_taskdata_t *taskdata = KMP_TASK_TO_TASKDATA(task); | ||||
▲ Show 20 Lines • Show All 4,011 Lines • Show Last 20 Lines |