Skip to content

Fix OMP nesting problem. - #269

Merged
fgvanzee merged 3 commits into
masterfrom
nested-omp-patch
Oct 16, 2018
Merged

fgvanzee merged 3 commits into
masterfrom
nested-omp-patch

Conversation

@devinamatthews

Copy link
Copy Markdown
Member

Detect when OpenMP uses fewer threads than requested and correct accordingly, so that we don't wait forever for nonexistent threads. Fixes #267.

devinamatthews and others added 3 commits October 11, 2018 10:45
Detect when OpenMP uses fewer threads than requested and correct accordingly, so that we don't wait forever for nonexistent threads. Fixes #267.
Details:
- Added comments to bli_thrcomm_openmp.c relating to changes made in
  6ac0c80 and 1064d79.
@devinamatthews

Copy link
Copy Markdown
Member Author

I believe this is ready to merge. With both OMP_NESTED=TRUE and OMP_DYNAMIC=TRUE it might be possible to trigger the error condition, so if that comes up we will need to do a more thorough fix.

@fgvanzee
fgvanzee merged commit 3612eca into master Oct 16, 2018
@devinamatthews
devinamatthews deleted the nested-omp-patch branch July 8, 2021 16:45
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.

2 participants