Skip to content

Commit 20386e5

Browse files
committed
Remove the aborted mixin experiment
1 parent 80f85ed commit 20386e5

1 file changed

Lines changed: 0 additions & 42 deletions

File tree

cuda_core/cuda/core/system/_field_values.pxi

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -139,45 +139,3 @@ cdef class FieldValues:
139139
If any of the contained field values has an associated exception.
140140
"""
141141
return [x.value for x in self]
142-
143-
144-
def _mixin_get_field_values(self, field_ids: list[int | tuple[int, int]]) -> FieldValues:
145-
"""
146-
Get multiple field values from the device.
147-
148-
Each value specified can raise its own exception. That exception will
149-
be raised when attempting to access the corresponding ``value`` from the
150-
returned :class:`FieldValues` container.
151-
152-
To confirm that there are no exceptions in the entire container, call
153-
:meth:`FieldValues.validate`.
154-
155-
Parameters
156-
----------
157-
field_ids: list of int or tuple of (int, int)
158-
List of field IDs to query.
159-
160-
Each item may be either a single value from the :class:`FieldId`
161-
enum, or a pair of (:class:`FieldId`, scope ID).
162-
163-
Returns
164-
-------
165-
:class:`FieldValues`
166-
Container of field values corresponding to the requested field IDs.
167-
"""
168-
return FieldValues(nvml.device_get_field_values(self._handle, field_ids))
169-
170-
171-
def _mixin_clear_field_values(self, field_ids: list[int | tuple[int, int]]) -> None:
172-
"""
173-
Clear multiple field values from the device.
174-
175-
Parameters
176-
----------
177-
field_ids: list of int or tuple of (int, int)
178-
List of field IDs to clear.
179-
180-
Each item may be either a single value from the :class:`FieldId`
181-
enum, or a pair of (:class:`FieldId`, scope ID).
182-
"""
183-
nvml.device_clear_field_values(self._handle, field_ids)

0 commit comments

Comments
 (0)