summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/version.mk2
-rw-r--r--samples/version.mk2
-rw-r--r--src/libXNVCtrl/version.mk2
-rw-r--r--src/nvml.h21
-rw-r--r--src/version.h2
-rw-r--r--src/version.mk2
-rw-r--r--version.mk2
7 files changed, 27 insertions, 6 deletions
diff --git a/doc/version.mk b/doc/version.mk
index 96ce1b3..b59261c 100644
--- a/doc/version.mk
+++ b/doc/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 415.18
+NVIDIA_VERSION = 415.22
diff --git a/samples/version.mk b/samples/version.mk
index 96ce1b3..b59261c 100644
--- a/samples/version.mk
+++ b/samples/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 415.18
+NVIDIA_VERSION = 415.22
diff --git a/src/libXNVCtrl/version.mk b/src/libXNVCtrl/version.mk
index 96ce1b3..b59261c 100644
--- a/src/libXNVCtrl/version.mk
+++ b/src/libXNVCtrl/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 415.18
+NVIDIA_VERSION = 415.22
diff --git a/src/nvml.h b/src/nvml.h
index ba754fe..e3177ed 100644
--- a/src/nvml.h
+++ b/src/nvml.h
@@ -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);
+
/** @} */
/**
diff --git a/src/version.h b/src/version.h
index a3cc518..5cd89d2 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1 +1 @@
-#define NVIDIA_VERSION "415.18"
+#define NVIDIA_VERSION "415.22"
diff --git a/src/version.mk b/src/version.mk
index 96ce1b3..b59261c 100644
--- a/src/version.mk
+++ b/src/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 415.18
+NVIDIA_VERSION = 415.22
diff --git a/version.mk b/version.mk
index 96ce1b3..b59261c 100644
--- a/version.mk
+++ b/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 415.18
+NVIDIA_VERSION = 415.22