OpenMPToolsInterface / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
http://llvm.org
2 stars 4 forks source link

Fix for: ompd_bp_task_end() gets invoked an incorrect number of times #8

Closed jinisusan closed 4 years ago

jinisusan commented 4 years ago

The runtime entry point ompd_bp_task_end() was getting invoked an incorrect number of times -- since it was getting invoked from the wrong location. This PR is to correct that. One issue that lingers even after this fix is that: ompd_bp_task_end() gets triggered a few extra times if the task is untied. (This hold true for the ompd_bp_task_begin() also currently). I plan to fix that in a separate PR.