This is an archive of the discontinued LLVM Phabricator instance.

[OMPT] Return appropiate values for ompt runtime entry points when the current thread is not an OpenMP thread
ClosedPublic

Authored by sconvent on Dec 13 2017, 3:48 AM.

Diff Detail

Event Timeline

sconvent created this revision.Dec 13 2017, 3:48 AM
sconvent retitled this revision from Return appropiate values for ompt runtime entry points when the current thread is not an OpenMP thread to [OMPT] Return appropiate values for ompt runtime entry points when the current thread is not an OpenMP thread.
sconvent updated this revision to Diff 126727.Dec 13 2017, 4:44 AM

Fix formatting

Should we add a test for the case ompt_* calls from non-OpenMP thread?

Should we add a test for the case ompt_* calls from non-OpenMP thread?

Yes, I think this would be good.

sconvent updated this revision to Diff 129418.Jan 11 2018, 2:31 AM

Added testcase

This revision is now accepted and ready to land.Jan 11 2018, 2:51 AM
This revision was automatically updated to reflect the committed changes.