Changes how profiling is added to the template so that profiling works with AMDs tools
Type of change
[x] Something else
Scope
[x] This PR comprises a set of related changes with 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
I tested this with ./mfc.sh run examples/1D_sodshocktube -n 1 --nsyson Wingtip and with./mfc.sh run examples/1D_sodshocktube -n 1 --omni` on Frontier.
Checklist
[x] New and existing tests pass locally with my changes, including with GPU capability enabled (both NVIDIA hardware with NVHPC compilers and AMD hardware with CRAY compilers) and disabled
[x] This PR does not introduce any repeated code (it follows the DRY principle)
[x] I cannot think of a way to condense this code and reduce any introduced additional line count
Description
Changes how profiling is added to the template so that profiling works with AMDs tools
Type of change
Scope
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
I tested this with
./mfc.sh run examples/1D_sodshocktube
-n 1 --nsyson Wingtip and with
./mfc.sh run examples/1D_sodshocktube -n 1 --omni` on Frontier.Checklist