• Anton Gorenko's avatar
    Always use hipRTC, support Windows · b9c45d45
    Anton Gorenko authored
    * Unload all loaded modules in HipContext's destructor,
      HIP modules keep file desctriptors opened, but OpenMM never unloads
      modules leaking these file descriptors. This can cause crashinf of
      some scripts like test-openmm-platforms from openmmtools.
    * ROCm 6.0 defines operator* for complex types (that are typedefs for
      float2 and double2), they conflict with operators defined for vectors.
      This is fixed in newer ROCm versions.
    * Revert HIP_DYNAMIC_SHARED back to extern __shared__ (the macro is
      in the headers).
    * Reduce the speed of the HIP platform if there are no HIP devices in
      the system.
    b9c45d45
HipPlatform.cpp 16.3 KB