Skip to content

Replace omp_set_nested (deprecated) with omp_set_max_active_levels #1887

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

servantftransperfect
Copy link
Contributor

@servantftransperfect servantftransperfect commented Jun 18, 2025

omp_set_nested is replaced by omp_set_max_active_levels

omp_set_nested was a binary choice (0 to desactivate nested omp loops, 1 to activate).
omp_set_max_active_levels set the number of allowed nested loops (1 to desactivate, n!=1 to set the exact number of activated nested loops).

I assumed in the code we only needed 1 nested loop, so i set omp_set_max_active_levels to 2 when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants