-
Notifications
You must be signed in to change notification settings - Fork 110
Removed MFC_MEMORY_DUMP #953
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #953 +/- ##
=======================================
Coverage 44.06% 44.06%
=======================================
Files 68 68
Lines 18220 18220
Branches 2292 2292
=======================================
Hits 8029 8029
Misses 8821 8821
Partials 1370 1370 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes dead code consisting of conditional compilation blocks that were wrapped in MFC_MEMORY_DUMP
preprocessor directives. Since MFC_MEMORY_DUMP
is never defined in any build flags, this code was never compiled or executed, making it effectively dead code that can be safely removed.
- Removes multiple
#if defined(MFC_OpenACC) && defined(MFC_MEMORY_DUMP)
blocks containingacc_present_dump()
calls - Eliminates associated debug print statements that were also conditionally compiled under the same directives
- Cleans up unnecessary blank lines left after removing the conditional blocks
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
For reference, the file |
User description
Description
Removed code that is wrapped in ifdefs with MFC_MEMORY_DUMP since MFC_MEMORY_DUMP is never defined with any build flags
Fixes #(issue) [optional]
Type of change
Please delete options that are not relevant.
Scope
If you cannot check the above box, please split your PR into multiple PRs that each have a common goal.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
Test Configuration:
Checklist
docs/
)examples/
that demonstrate my new feature performing as expected.They run to completion and demonstrate "interesting physics"
./mfc.sh format
before committing my codeIf your code changes any code source files (anything in
src/simulation
)To make sure the code is performing as expected on GPU devices, I have:
nvtx
ranges so that they can be identified in profiles./mfc.sh run XXXX --gpu -t simulation --nsys
, and have attached the output file (.nsys-rep
) and plain text results to this PR./mfc.sh run XXXX --gpu -t simulation --rsys --hip-trace
, and have attached the output file and plain text results to this PR.PR Type
Other
Description
Remove unused MFC_MEMORY_DUMP conditional compilation blocks
Clean up dead code from simulation startup module
Diagram Walkthrough
File Walkthrough
m_start_up.fpp
Remove MFC_MEMORY_DUMP conditional blocks
src/simulation/m_start_up.fpp
acc_present_dump()
calls and debug print statements