1. 07 Jun, 2025 1 commit
    • Anton Gorenko's avatar
      Use fixed point charge spreading on RDNA4 (#4960) · 1ce5d91d
      Anton Gorenko authored
      * Use fixed point spread charge on RDNA4 as it is faster
      
      Even though RDNA4 (gfx12) has global_atomic_add_f32, micro-benchmarks and OpenMM benchmarks show
      that it is very slow compared to global_atomic_add_u64.
      
      * Add a workaround for fixed point gridSpreadCharge on RDNA4
      
      Workaround for rare cases when few values of pmeGrid are very large and
      incorrect. The cause is unknown. Why this workaround or other irrelevant
      changes like printf help is also unknown.
      1ce5d91d
  2. 25 May, 2025 1 commit
  3. 23 May, 2025 1 commit
  4. 02 May, 2025 1 commit
  5. 28 Apr, 2025 1 commit
    • Peter Eastman's avatar
      Added computeCurrentPressure() to MonteCarloBarostat (#4881) · bce0c133
      Peter Eastman authored
      * Added computeCurrentPressure() to MonteCarloBarostat
      
      * Use instantaneous temperature to compute pressure
      
      * Added computeCurrentPressure() to MonteCarloAnisotropicBarostat
      
      * Added computeCurrentPressure() to MonteCarloMembraneBarostat
      
      * Fixed compilation error
      
      * Fixed error in typemap
      
      * Added documentation on computing pressure
      
      * Fixed CUDA compilation errors
      
      * Made test case more robust
      
      * Made a test case more robust
      
      * Added computeCurrentPressure() to MonteCarloFlexibleBarostat
      
      * Fixed compilation error
      
      * More documentation on computing pressure
      bce0c133
  6. 23 Apr, 2025 1 commit
  7. 14 Apr, 2025 1 commit
    • Peter Eastman's avatar
      DPDIntegrator (#4799) · de180e4e
      Peter Eastman authored
      * Created DPDIntegrator class
      
      * Reference implementation of DPDIntegrator
      
      * Build neighbor list for DPDIntegrator
      
      * Minor fixes
      
      * Documentation for DPDIntegrator
      
      * Python API for DPDIntegrator
      
      * Preliminary OpenCL implementation of DPDIntegrator
      
      * Enable USE_PERIODIC
      
      * Use updated positions in DPD thermostat
      
      * Working on neighbor list for OpenCL DPDIntegrator
      
      * ReorderListener for particle types
      
      * Serialization for DPDIntegrator
      
      * CUDA implementation of DPDIntegrator
      
      * HIP implementation of DPDIntegrator
      
      * Fixed compile error in Python wrapper
      
      * Fixed compile error in wrappers
      
      * Fixed uninitialized memory in reference neighbor list
      
      * Added DPDIntegrator to C++ API docs
      
      * Fixed incorrect launch size
      
      * Fixed nan in DPD random number generator
      
      * Minor optimizations
      
      * Improved load balancing
      
      * Fixed an indexing error
      
      * Neighbor list uses the maximum cutoff of any force
      
      * Fixed HIP compilation error
      
      * Fixed access to invalid memory
      
      * Added test case for diffusion coefficient
      
      * Try to debug segfaults on CI
      
      * Debugging
      
      * Debugging
      
      * Debugging
      
      * Debugging
      
      * Debugging
      
      * Debugging
      
      * Possible fix
      
      * Debugging
      
      * Debugging
      
      * Debugging
      
      * Use correct block size on CPU OpenCL
      
      * Workaround for bug in Intel's OpenCL for CPUs
      
      * Removed an unnecessary define
      
      * Removed debugging code
      
      * Include Dart
      
      * More Intel workarounds
      
      * Workaround for error in NVIDIA OpenCL
      de180e4e
  8. 23 Sep, 2024 1 commit
    • Anton Gorenko's avatar
      Optimize PME spread charge kernel (#4633) · 8ea42950
      Anton Gorenko authored
      * PME_ORDER threads process one atom;
      * PME_ORDER threads access consecutive addresses;
      * No need to permute z indices with zindexTable;
      * finishSpreadCharge is needed only with fixed point charge spreading;
      8ea42950
  9. 06 Apr, 2024 1 commit
  10. 23 Feb, 2024 1 commit
  11. 17 Feb, 2024 1 commit
  12. 02 Feb, 2024 1 commit
  13. 28 Sep, 2023 1 commit
  14. 16 Sep, 2023 1 commit
  15. 02 Aug, 2023 1 commit
    • Emilio Gallicchio's avatar
      Draft integration of the Alchemical Transfer Method (ATM) plugin (#4110) · d8c67699
      Emilio Gallicchio authored
      * Draft integration of the Alchemical Transfer Method (ATM) plugin
      
      * Attempt to store and retrieve forces--does not compile
      
      * Implement addForce()/getForce() methods
      
      * Throw exception when specifying properties without a Platform (#4130)
      
      * Fixed DOF calculation for NoseHooverIntegrator (#4128)
      
      * Fix variance in documentation of VerletIntegrator (#4138)
      
      * Python API for ATMForce
      
      * Fixed compilation error
      
      * Minor cleanup of formatting and documentation
      
      * Files for ATMForce test cases
      
      * More cleanup
      
      * Removed variable groups
      
      * Test ATMForce with two particles
      
      * More tests for ATMForce plus fixes
      
      * Added missing header
      
      * Rework interface to pass displacements as vector of parameters
      
      * Revert "Rework interface to pass displacements as vector of parameters"
      
      This reverts commit 5e092031f31ded1137b677588f007add1c2d6f82.
      
      * Test with nonbonded force
      
      * Allow energy expression to be custom...
      d8c67699
  16. 21 Jul, 2023 1 commit
  17. 18 May, 2023 1 commit
  18. 17 Aug, 2022 1 commit
  19. 22 Jul, 2022 1 commit
    • Adel Johar's avatar
      Final HIP Platform implementation for AMD GPUs on ROCm (#3338) · a39fa14a
      Adel Johar authored
      
      
      * Support kernel files with extensions of any length (like .hip)
      
      * Do not allow to replace symbols in single-line comments
      
      * Add OPENMM_BUILD_COMMON CMake option
      
      It allows to build and install common platform files even if
      CUDA or OpenCL platforms are not built.
      This is required for HIP platform (openmm-hip) if ROCm OpenCL
      packages are not installed.
      
      * Add an option for Python wrapper to install into user packages
      
      OPENMM_PYTHON_USER_INSTALL is OFF be default.
      
      * Support FFT backends in Amoeba plugin
      
      The HIP platform supports FFT backends, this commit moves
      findLegalFFTDimension to ComputeContext, so platforms can have their own
      implementations.
      
      * Compatibility for common platform w/ new HIP platform
      
      * Do not use volatile with private and local AtomData parameters on HIP
      
      The generated code is not optimal, for example, the compiler generates
      flat_load instructions instead of ds_read.
      
      * Tune launch bounds for PME grid-related kernels and add WA for RDNA
      
      Force the compiler to use all registers for gridSpreadCharge and
      gridInterpolateForce by limiting max waves per EU to 1 on CDNA GPUs,
      RDNA GPUs work better without it.
      
      * Optimize atom data structs in GBSA and Amoeba on HIP
      
      Manually rearrange fields, add paddings and force alignments to
      have faster accesses to shared memory: ds_read and ds_write may
      work slower if addresses are not aligned by 16 bytes.
      Co-authored-by: default avatarAnton Gorenko <anton@streamhpc.com>
      Co-authored-by: default avatarNick Curtis <nicholas.curtis@amd.com>
      a39fa14a
  20. 07 Mar, 2022 1 commit
  21. 04 Mar, 2022 1 commit
  22. 27 Jan, 2022 1 commit
    • Peter Eastman's avatar
      CustomNonbondedForce supports computed values (#3412) · 33c694d4
      Peter Eastman authored
      * Reference implementation of computed values for CustomNonbondedForce
      
      * CPU implementation of computed values for CustomNonbondedForce
      
      * Common implementation of computed values for CustomNonbondedForce
      
      * Serialization of computed values
      
      * ForceField supports computed values
      33c694d4
  23. 10 Jan, 2022 1 commit
  24. 20 Nov, 2021 1 commit
  25. 30 Sep, 2021 1 commit
  26. 14 Jun, 2021 1 commit
  27. 22 May, 2021 1 commit
    • Peter Eastman's avatar
      Converted AMOEBA to common platform (#3120) · 8e8923a7
      Peter Eastman authored
      * Began converting AMOEBA to common platform
      
      * Beginning of OpenCL platform for AMOEBA
      
      * Converted AmoebaVdwForce to common platform
      
      * Cleaned up reference AMOEBA tests
      
      * Began converting AmoebaMultipoleForce to common platform
      
      * Continue converting AmoebaMultipoleForce to common platform
      
      * Bug fixes
      
      * Bug fix
      
      * Continue converting AmoebaMultipoleForce to common platform
      
      * Converting AmoebaMultipoleForce and AmoebaGeneralizedKirkwoodForce to common platform
      
      * Converting AmoebaMultipoleForce and AmoebaGeneralizedKirkwoodForce to common platform
      
      * Creating OpenCL version of AmoebaMultipoleForce and AmoebaGeneralizedKirkwoodForce
      
      * Creating OpenCL version of AmoebaMultipoleForce and AmoebaGeneralizedKirkwoodForce
      
      * Creating OpenCL version of AmoebaMultipoleForce and AmoebaGeneralizedKirkwoodForce
      
      * Converted arrays from real3 to real
      
      * Bug fix to OpenCL AmoebaGeneralizedKirkwoodForce
      
      * Fixes for AMD GPUs
      
      * Began converting HippoNonbondedForce to common platform
      
      * Continuing to convert HippoNonbondedForce to common platform
      
      * Continuing to convert HippoNonbondedForce to common platform
      
      * Working on unifying PME kernels
      
      * Fixed error on devices without 64 bit atomics
      
      * Unified PME kernels
      
      * Converted HippoNonbondedForce to common platform
      
      * Creating OpenCL implementation of HippoNonbondedForce
      
      * Continuing OpenCL implementation of HippoNonbondedForce
      
      * Mostly finished OpenCL implementation of HippoNonbondedForce
      
      * Eliminated three component vector types in host code
      
      * Fix errors on CPU OpenCL
      
      * Skip double precision tests for AMOEBA on OpenCL
      
      * Bug fixes
      
      * Bug fixes
      
      * Fixed compilation error
      8e8923a7
  28. 21 May, 2021 1 commit
  29. 19 Mar, 2021 1 commit
  30. 28 Feb, 2021 1 commit
    • Peter Eastman's avatar
      Point based geometric functions for custom forces (#3037) · a85c2428
      Peter Eastman authored
      * Began implementing geometric functions on points
      
      * Started common implementation of point functions
      
      * Completed implementation of point functions for CustomCompoundBondForce
      
      * Implemented point functions for CustomCentroidBondForce
      
      * Implemented point functions for CustomManyParticleForce
      
      * Use point functions to simplify implementation of custom forces
      
      * Removed unnecessary code
      
      * Fixed typo
      a85c2428
  31. 03 Sep, 2020 1 commit
  32. 20 Aug, 2020 1 commit
  33. 25 May, 2020 1 commit
  34. 22 May, 2020 2 commits
    • Thomas Trummer's avatar
      Fix invalid call to __host__ function in computeBondedForces · 62f7a04c
      Thomas Trummer authored
      Explicitly cast the second parameter to the type of the first one so the compiler can pick an overload that is supported in device code (fixes error: calling a __host__ function("fmin<float, int, (int)0> ") from a __global__ function("computeBondedForces") is not allowed).
      62f7a04c
    • Thomas Trummer's avatar
      Removed name of variadic argument list · f0ac4661
      Thomas Trummer authored
      Naming the argument list of a variadic macro is a GNU extension which is not supported by msvc. Since CUDA uses the system preprocessor this will fail to build kernels on Windows (fixes error C2010: '.': unexpected in macro parameter list).
      f0ac4661
  35. 05 May, 2020 1 commit
  36. 04 May, 2020 1 commit
    • Andy Simmonett's avatar
      Nosé Hoover Middle scheme (#2600) · 5f374e1d
      Andy Simmonett authored
      * Convert Nose-Hoover into LF middle scheme by copying NH kernels
      
      * Rebrand VelocityVerletIntegrator as NoseHooverIntegrator
      
      * Consolidate NH tests
      
      * NoseHooverChainKernel begone
      
      * Make Windows builds happy
      
      * Add missing header for Windows build
      
      * Fix mistake in CommonKernels header
      
      * Add 6th Yoshida-Suzuki and make it the default
      5f374e1d
  37. 14 Apr, 2020 1 commit
  38. 28 Feb, 2020 1 commit
  39. 14 Feb, 2020 1 commit