The GPU ECC APIs are used to configure ECC-capable GPUs.
Used in NV_GPU_ECC_STATUS_INFO.
◆ NV_GPU_ECC_CONFIGURATION_INFO_VER
◆ NV_GPU_ECC_ERROR_INFO_VER
◆ NV_GPU_ECC_STATUS_INFO_VER
◆ NvAPI_GPU_GetECCConfigurationInfo()
◆ NvAPI_GPU_GetECCErrorInfo()
◆ NvAPI_GPU_GetECCStatusInfo()
◆ NvAPI_GPU_ResetECCErrorInfo()
NVAPI_INTERFACE NvAPI_GPU_ResetECCErrorInfo |
( |
NvPhysicalGpuHandle |
hPhysicalGpu, |
|
|
NvU8 |
bResetCurrent, |
|
|
NvU8 |
bResetAggregate |
|
) |
| |
DESCRIPTION: This function resets ECC memory error counters.
SUPPORTED OS: Windows 10 and higher
TCC_SUPPORTED
\requires Administrator privileges since release 430.39
- Parameters
-
[in] | hPhysicalGpu | A handle identifying the physical GPU for which ECC error information is to be cleared. |
[in] | bResetCurrent | Reset the current ECC error counters. |
[in] | bResetAggregate | Reset the aggregate ECC error counters. |
- Returns
- This API can return any of the error codes enumerated in NvAPI_Status. If there are return error codes with specific meaning for this API, they are listed below.
- Return values
-
NVAPI_INVALID_USER_PRIVILEGE | - The application will require Administrator privileges to access this API. The application can be elevated to a higher permission level by selecting "Run as Administrator". |
◆ NvAPI_GPU_SetECCConfiguration()
NVAPI_INTERFACE NvAPI_GPU_SetECCConfiguration |
( |
NvPhysicalGpuHandle |
hPhysicalGpu, |
|
|
NvU8 |
bEnable, |
|
|
NvU8 |
bEnableImmediately |
|
) |
| |
DESCRIPTION: This function updates the ECC memory configuration setting.
SUPPORTED OS: Windows 10 and higher
TCC_SUPPORTED
\requires Administrator privileges since release 430.39
- Parameters
-
[in] | hPhysicalGpu | A handle identifying the physical GPU for which to update the ECC configuration setting. |
[in] | bEnable | The new ECC configuration setting. |
[in] | bEnableImmediately | Request that the new setting take effect immediately. |
- Returns
- This API can return any of the error codes enumerated in NvAPI_Status. If there are return error codes with specific meaning for this API, they are listed below.
- Return values
-
NVAPI_INVALID_CONFIGURATION | - Possibly SLI is enabled. Disable SLI and retry. |
NVAPI_INVALID_USER_PRIVILEGE | - The application will require Administrator privileges to access this API. The application can be elevated to a higher permission level by selecting "Run as Administrator". |