cuda.core.system._device.FieldValues#
- class cuda.core.system._device.FieldValues(field_values: nvml.FieldValue)#
Container of multiple field values.
Methods
- __init__(*args, **kwargs)#
- get_all_values(self) list[int | float]#
Get all field values as a list.
This will validate each of the values and include just the core value in the list.
- Returns:
List of all field values.
- Return type:
- Raises:
cuda.core.system.NvmlError – If any of the contained field values has an associated exception.
- validate(self) None#
Validate that there are no issues in any of the contained field values.
Raises an exception for the first issue found, if any.
- Raises:
cuda.core.system.NvmlError – If any of the contained field values has an associated exception.