NVML management resets GPU application clocks rather than restoring - Redmine #1846
If mdrun is able to change the GPU application clocks, at cleanup it
calls nvmlDeviceResetApplicationsClocks()
which will reset the clocks
possibly leaving the card with different clocks than the ones set at
mdrun startu
(from redmine: issue id 1846, created on 2015-10-22 by pszilard, closed on 2016-07-07)
- Relations:
- relates #1970 (closed)
- Changesets:
- Revision ddc42de5 by Berk Hess on 2016-06-28T11:56:15Z:
Properly reset CUDA application clocks
We now store the application clock values we read when starting mdrun
and reset to these values, but only when clocks have not been changed
(by another process) in the meantime.
Fixes #1846.
Change-Id: I722d7153202e8f4c6a5330948dcbef06bb6acf28