Skip to content

Commit b178f4a

Browse files
committed
Line wrapping
1 parent f97eca7 commit b178f4a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cuda_core/cuda/core/system/_temperature.pxi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ cdef class Temperature:
227227
device_arch = nvml.DeviceArch(nvml.device_get_architecture(self._handle))
228228
if device_arch >= nvml.DeviceArch.ADA:
229229
warnings.warn(
230-
f"{threshold_type} is no longer recommended for Ada and later architectures. Use get_field_values with NVML_FI_DEV_TEMPERATURE_* fields to retrieve this threshold on these architectures.",
230+
f"{threshold_type} is no longer recommended for Ada and later architectures. "
231+
"Use get_field_values with NVML_FI_DEV_TEMPERATURE_* fields to retrieve this "
232+
"threshold on these architectures.",
231233
DeprecationWarning,
232234
stacklevel=2
233235
)

0 commit comments

Comments
 (0)