cuda.bindings.nvml.AdaptiveTgpModeInfo_v1#

class cuda.bindings.nvml.AdaptiveTgpModeInfo_v1#

Empty-initialize an instance of nvmlAdaptiveTgpModeInfo_v1_t.

See also

nvmlAdaptiveTgpModeInfo_v1_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an AdaptiveTgpModeInfo_v1 instance with the memory from the given buffer.

from_data(data)

Create an AdaptiveTgpModeInfo_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an AdaptiveTgpModeInfo_v1 instance wrapping the given pointer.

Attributes

adjusted_limit_mw

[out] Adjusted TGP limit in milliwatts (valid only when feature is enabled)

admin_override_enabled

[out] Out-of-band/admin override active (NVML_FEATURE_ENABLED) or inactive (NVML_FEATURE_DISABLED)

enablement_status

active (NVML_FEATURE_ENABLED) or inactive (NVML_FEATURE_DISABLED)

feature_allowed_by_admin

[out] Feature allowed by out-of-band/admin (NVML_FEATURE_ENABLED) or not allowed (NVML_FEATURE_DISABLED)

in_band_enable_request

[out] In-band enable requested (NVML_FEATURE_ENABLED) or not requested (NVML_FEATURE_DISABLED)

ptr

Get the pointer address to the data as Python int.