Since td_allow_completion_event is a member of the taskdata struct, not all firstprivate/shared variables are stored at the end of the task memory allocation. Simply report the whole allocation instead.
Furthermore, the function should always return 0 since in no case there is another block to report.
Details
Details
Diff Detail
Diff Detail
Event Timeline
openmp/runtime/src/ompt-specific.cpp | ||
---|---|---|
478–479 | We can remove this check since it is always greater than 0 for an explicit task. |
We can remove this check since it is always greater than 0 for an explicit task.