Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ompt state wait barrier implicit parallel #9

Open
wants to merge 2 commits into
base: ompt-final-barrier
Choose a base branch
from

Conversation

vladaindjic
Copy link

  1. When a thread enters the last implicit barrier of a parallel region, its state should be set to: ompt_state_wait_barrier_implicit_parallel according to OpenMP TR 9.

  2. Inside __ompt_get_task_info_internal function, check if prev_team exitst and then try to get information about master_tid.

1. parallel_data at level 0 present, but not at outer levels (1, 2, etc.), even though there are few levels of nested regions.
2. The same region descriptor may be passed multiple times to ompt_callback_parallel_end.
1. ompt_state_wait_barrier_implicit_parallel has been used instead of deprecated ompt_state_wait_barrier_implicit
2. In function __ompt_get_task_info_internal, check if prev_team exists before getting master_id.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant