Skip to content

Fix OpenMP resource cleanup#479

Merged
allnes merged 6 commits intomasterfrom
codex/fix-memory-leaks-detected-by-valgrind
Jun 24, 2025
Merged

Fix OpenMP resource cleanup#479
allnes merged 6 commits intomasterfrom
codex/fix-memory-leaks-detected-by-valgrind

Conversation

@aobolensk
Copy link
Copy Markdown
Member

@aobolensk aobolensk commented Jun 24, 2025

No description provided.

Comment thread modules/core/task/include/task.hpp Outdated
} else {
functions_order_.clear();
}
#ifdef _OPENMP
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we use define, is it no base function of omp library?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need. Removed

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.73%. Comparing base (67352f7) to head (c684e9b).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #479   +/-   ##
=======================================
  Coverage   91.73%   91.73%           
=======================================
  Files          11       11           
  Lines         363      363           
  Branches      131      131           
=======================================
  Hits          333      333           
  Misses         10       10           
  Partials       20       20           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@allnes
Copy link
Copy Markdown
Member

allnes commented Jun 24, 2025

I think before merging this PR we need to increase version of msvc openmp

@aobolensk
Copy link
Copy Markdown
Member Author

I think before merging this PR we need to increase version of msvc openmp

I guess we can guard it with macro, as I have done just now

@allnes allnes added this pull request to the merge queue Jun 24, 2025
Merged via the queue into master with commit 3584545 Jun 24, 2025
79 checks passed
@aobolensk aobolensk deleted the codex/fix-memory-leaks-detected-by-valgrind branch July 4, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants