cuda.bindings.nvml.PlatformInfo_v1#
- class cuda.bindings.nvml.PlatformInfo_v1#
Empty-initialize an instance of nvmlPlatformInfo_v1_t.
See also
nvmlPlatformInfo_v1_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an PlatformInfo_v1 instance with the memory from the given buffer.
from_data(data)Create an PlatformInfo_v1 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an PlatformInfo_v1 instance wrapping the given pointer.
Attributes
chassis_physical_slot_numberThe slot number in the rack containing this GPU (includes switches)
compute_slot_ind_exThe index within the compute slots in the rack containing this GPU (does not include switches)
ib_guid(array of length 16).Infiniband GUID reported by platform (for Blackwell, ibGuid is 8 bytes so indices 8-15 are zero)
module_idID of this GPU within the node.
node_ind_exIndex of the node within the slot containing this GPU.
peer_typePlatform indicated NVLink-peer type (e.g. switch present or not).
ptrGet the pointer address to the data as Python
int.rack_guid(array of length 16).GUID of the rack containing this GPU (for Blackwell rackGuid is 13 bytes so indices 13-15 are zero)
versionthe API version number