2.29. definitions related to Counter Collection Unit
Functions
- nvmlReturn_t nvmlDeviceCcuGetStreamState ( nvmlDevice_t device, unsigned int* state )
- nvmlReturn_t nvmlDeviceCcuSetStreamState ( nvmlDevice_t device, unsigned int state )
Functions
- nvmlReturn_t nvmlDeviceCcuGetStreamState ( nvmlDevice_t device, unsigned int* state )
-
Parameters
- device
- The identifier of the target device
- state
- Returns counter collection unit stream state NVML_COUNTER_COLLECTION_UNIT_STREAM_STATE_DISABLE or NVML_COUNTER_COLLECTION_UNIT_STREAM_STATE_ENABLE
Returns
- NVML_SUCCESS if current counter collection unit stream state were successfully queried
- NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized
- NVML_ERROR_INVALID_ARGUMENT if device is invalid or state is NULL
- NVML_ERROR_NOT_SUPPORTED if this query is not supported by the device
Description
Get counter collection unit stream state.
HOPPER_OR_NEWER% Supported on Linux, Windows TCC.
- nvmlReturn_t nvmlDeviceCcuSetStreamState ( nvmlDevice_t device, unsigned int state )
-
Parameters
- device
- The identifier of the target device
- state
- Counter collection unit stream state, NVML_COUNTER_COLLECTION_UNIT_STREAM_STATE_DISABLE or NVML_COUNTER_COLLECTION_UNIT_STREAM_STATE_ENABLE
Returns
- NVML_SUCCESS if current counter collection unit stream state is successfully set
- NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized
- NVML_ERROR_INVALID_ARGUMENT if device is invalid
- NVML_ERROR_NOT_SUPPORTED if this query is not supported by the device
Description
Set counter collection unit stream state.
HOPPER_OR_NEWER% Supported on Linux, Windows TCC.