diff options
author | Liam Middlebrook <lmiddlebrook@nvidia.com> | 2018-12-07 10:04:34 -0800 |
---|---|---|
committer | Liam Middlebrook <lmiddlebrook@nvidia.com> | 2018-12-07 10:04:34 -0800 |
commit | eff1c79bdda0f48260e4cb518fb0d1f1ebe2c317 (patch) | |
tree | e58f4d94d88efa7d0ebd1094e70679cdeb4cbae1 /src/nvml.h | |
parent | 303d42f34327a122b987022a6c7bd720d9416756 (diff) |
415.22
Diffstat (limited to 'src/nvml.h')
-rw-r--r-- | src/nvml.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -6348,6 +6348,27 @@ nvmlReturn_t DECLDIR nvmlGetBlacklistDeviceCount(unsigned int *deviceCount); */ nvmlReturn_t DECLDIR nvmlGetBlacklistDeviceInfoByIndex(unsigned int index, nvmlBlacklistDeviceInfo_t *info); +/** + * Overrides or restores default CUDA clocks + * In override mode, GPU clocks higher frequencies when running CUDA applications + * Only on supported devices starting from the Volta series + * Requires administrator privileges + * + * For newer than Pascal &tm; fully supported devices. + * + * @param device The identifier of the target device + * @param applyOverride The value to set the override to + * + * @return + * - \ref NVML_SUCCESS if override written + * - \ref NVML_ERROR_INVALID_ARGUMENT if \a device is invalid or override value out of range + * - \ref NVML_ERROR_NO_PERMISSION if the user doesn't have permission to perform this operation + * - \ref NVML_ERROR_NOT_SUPPORTED if the device does not support this feature + * - \ref NVML_ERROR_GPU_IS_LOST if the target GPU has fallen off the bus or is otherwise inaccessible + * - \ref NVML_ERROR_UNKNOWN on any unexpected error + */ +nvmlReturn_t DECLDIR nvmlDeviceCudaClocks(nvmlDevice_t device, unsigned int applyOverride); + /** @} */ /** |