This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][OMPT][GOMP] PARALLEL_LOOP macro initializes exit_frame
Needs ReviewPublic

Authored by vladaindjic on Oct 20 2021, 9:13 AM.

Details

Summary

The PARALLEL_LOOP macro, used as a wrapper for __kmp_api_GOMP_parallel_loop_* constructs,
initializes the exit_frame that corresponds to the task region executed by the master thread.

The simple for_dynamic_serialized.c test case contains a serialized worksharing loop.
The test case is used to to validate whether the tasking frames are properly maintained.

Diff Detail

Event Timeline

vladaindjic created this revision.Oct 20 2021, 9:13 AM
vladaindjic requested review of this revision.Oct 20 2021, 9:13 AM
Herald added a project: Restricted Project. · View Herald Transcript