[Openmp-commits] [PATCH] D16714: [OMPT] Fix wrong parent_task_id in serialized parallel_begin with GCC

John Mellor-Crummey via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 4 14:13:30 PST 2016


jmellorcrummey added a comment.

I haven't had the time to analyze this patch in detail. To me, it looks like it fixes a symptom (an incorrect argument passed to a callback) rather than an underlying cause (information about the top task frame may be improperly updated).

If the information for the task at depth 0 before the serialized parallel is what should be presented to the parallel begin callback, then is the information at depth 0 wrong? Remember, a tool using asynchronous sampling could observe this task at any time - either before or after the serialized parallel.


http://reviews.llvm.org/D16714





More information about the Openmp-commits mailing list