Updated application clock handling on Pascal+ GPUs
commitbf4589ee427e477b1923b2c691d3dcc211ba2fd2
authorJiri Kraus <jkraus@nvidia.com>
Tue, 23 May 2017 08:29:49 +0000 (23 10:29 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 26 Jun 2017 10:06:58 +0000 (26 12:06 +0200)
tree286898b6cc9c72536c702bcdda9a12067826f54f
parent73a216c0ab041138cea70be24937b3b848628937
Updated application clock handling on Pascal+ GPUs

Starting with Pascal (CC >= 6.0) it is no longer possible to change
application clocks without root privileges. With this patch application
clocks are only reported for Pascal+. To avoid meaningless warnings in
case applicaitons clocks have already been set externally the function
init_gpu_application_clocks is now exited early if no application clock
changes are necessary.

Change-Id: I1d99ebff1fa32ba1fd44a37dcb43158da733daed
src/gromacs/gpu_utils/gpu_utils.cu