1. 16 Nov, 2023 1 commit
  2. 02 Nov, 2023 2 commits
  3. 01 Nov, 2023 3 commits
  4. 31 Oct, 2023 2 commits
  5. 26 Oct, 2023 1 commit
  6. 24 Oct, 2023 2 commits
  7. 23 Oct, 2023 1 commit
  8. 17 Oct, 2023 1 commit
  9. 16 Oct, 2023 1 commit
    • Christopher Woods's avatar
      WIP - looking for a way to optimise performance of creating contexts by... · 03ed8ff2
      Christopher Woods authored
      WIP - looking for a way to optimise performance of creating contexts by removing temporary arrays (and their associated mallocs/frees) (#4261)
      
      * Suggesting a "haveSameParameters" function for CustomNonbondedForce which could be
      used to avoid creating temporary copies of arrays when testing if particles are
      the same.
      
      Also updating "getParticleParameters" so that it re-uses the memory of the
      passed vector argument, rather than deallocating and reallocating it
      via a copy.
      
      * Revert "Suggesting a "haveSameParameters" function for CustomNonbondedForce which could be"
      
      This reverts commit e80ec2d2e9981abb90711636bf3a78d0c49e43fc.
      
      * Moved to `thread_local static` as suggested to prevent new vector allocations on each function call.
      
      Updated `getParameters` and `getBondParameters` to re-use the memory from the argument rather
      than re-allocating via the copy.
      
      * Forgot to reuse the memory for the groups...
      
      * Reverted back the manual copies via memcpy as they aren't needed. Looking at the header
      file and benchmarking shows that std::vector does the right thing.
      
      * Confined `thread_local static` only to ForceInfo methods, and have also put declarations
      for multiple variables back onto a single line
      
      * Removed `thread_local static` from the constructor
      
      * Moved constructor declarations back into the for loop
      03ed8ff2
  10. 14 Oct, 2023 2 commits
  11. 11 Oct, 2023 1 commit
  12. 10 Oct, 2023 1 commit
  13. 02 Oct, 2023 1 commit
  14. 28 Sep, 2023 2 commits
  15. 27 Sep, 2023 1 commit
  16. 19 Sep, 2023 1 commit
  17. 16 Sep, 2023 1 commit
  18. 07 Sep, 2023 2 commits
  19. 04 Sep, 2023 2 commits
  20. 02 Sep, 2023 1 commit
  21. 01 Sep, 2023 1 commit
  22. 28 Aug, 2023 2 commits
  23. 24 Aug, 2023 1 commit
  24. 18 Aug, 2023 2 commits
  25. 16 Aug, 2023 3 commits
  26. 13 Aug, 2023 1 commit
  27. 08 Aug, 2023 1 commit