The patch adds support for ompt_event_task_switch into LLVM/OpenMP. Note that the patch has also updated the signature of ompt_event_task_switch to ompt_task_pair_callback_t (rather than the previous ompt_task_switch_callback_t).
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Please update your patch in differential to include full diffs with "git diff -U999999 master"
The patches in kmp_tasking.c should use ifdefs
#if OMPT_SUPPORT && OMPT_TRACE
Comment Actions
This patch now applies to version 3.0, 4.0 and 4.1 (aka 4.5). All these versions support #pragma omp task.
Comment Actions
Looks good to me.
This revision (1) implements the OMPT support for the task switch event, and (2) brings the interface for the event in line with the current OMPT specification.
runtime/src/include/41/ompt.h.var | ||
---|---|---|
316–319 | Should this be changed in 40/ompt.h.var and 30/ompt.h.var as well? |
Should this be changed in 40/ompt.h.var and 30/ompt.h.var as well?