Closed draenog closed 1 year ago
That's a pretty big performance hit for just default-initializing some values. I will revert it any case and disable linting for the relevant line.
The change didn't seem to affect the results of the regression test but of course this is just on plain old CPUs.
Thanks for spotting this, @draenog!
Commit f668054bac351517d29c7295675f4b24b6ce42b0 causes performance degradation on GPUs. On my test run on A100 time spent in BinaryBHLevel::specificEvalRHS increased from 4.683s to 6.612s. In particular the culprit is change https://github.com/GRChombo/GRAMReX/commit/f668054bac351517d29c7295675f4b24b6ce42b0#r108295816.
The next step would be to test if the change affect the final results.