Use fypp instead of C preprocessor for Macro expansion#1073
Use fypp instead of C preprocessor for Macro expansion#1073prathi-wind wants to merge 11 commits intoMFlowCode:masterfrom
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1073 +/- ##
==========================================
- Coverage 44.16% 41.66% -2.51%
==========================================
Files 71 71
Lines 20197 20701 +504
Branches 1970 2627 +657
==========================================
- Hits 8921 8626 -295
- Misses 10148 10411 +263
- Partials 1128 1664 +536 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Replace most macro expansions to use the fypp preprocessor instead of the C preprocessor
Also cleaned up some the if defs for conditional compilation
Using fypp makes build files much easier to read and clearly indicates what options were activated.
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 formatbefore 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:
nvtxranges 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.