[Openmp-commits] [PATCH] D16716: [OMPT] Fix duplicate implicit_task_end events for master thread with GCC

Jonas Hahnfeld via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 29 01:09:11 PST 2016


Hahnfeld created this revision.
Hahnfeld added reviewers: jmellorcrummey, jlpeyton.
Hahnfeld added subscribers: openmp-commits, tcramer.

For non-serialized parallel regions the master thread issued two callbacks: The first one in `kmp_gsupport.c` and the second in `__kmp_join_call`. Therefore only trigger the callback in `kmp_gsupport.c` for serialized parallel regions.

http://reviews.llvm.org/D16716

Files:
  runtime/src/kmp_gsupport.c
  runtime/test/ompt/omp_parallel.c
  runtime/test/ompt/omp_parallel_nested.c
  runtime/test/ompt/omp_parallel_nested_serialized.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16716.46364.patch
Type: text/x-patch
Size: 22249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160129/8c943c05/attachment-0001.bin>


More information about the Openmp-commits mailing list