Improve performance of CarpetInterp2 interpolation

Create issue
Issue #1771 closed
Ian Hinder created an issue

The branch https://bitbucket.org/eschnett/carpet/branch/ianhinder/fasterp_opt#diff contains an optimisation to the CarpetInterp2 interpolation routine which improved the performance of Llama interpatch interpolation in my test by a factor of 5. I did this a while ago, and haven't looked at it recently. Before merging, the following should be done: 1. Check that is applies cleanly to the current version of Carpet 2. Decide whether the vectorisation pragmas need to be protected by Cactus preprocessor guards Or any other changes which people think might be necessary. This should wait until after the upcoming (May 2015) release of the ET.

Keyword:

Comments (6)

  1. Ian Hinder reporter
    • removed comment

    This optimisation applies cleanly to the release, but not to master, due to the code reformat. Erik, would you mind making a version of this patch that applies to master?

  2. Erik Schnetter
    • removed comment

    Converting a patch is not possible. Instead, I will need to convert the whole file both before and after applying the patch. Has this patch been applied? Do you have a branch name / commit id / commit message?

  3. Log in to comment