Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 2.47 KB

DeviceGpu.md

File metadata and controls

37 lines (30 loc) · 2.47 KB

DeviceGpu

Information about a GPU device discovered on the device.

Properties

Name Type Description Notes
index int Zero-based enumeration index of the GPU on the system, assigned in PCI bus discovery order.
vendor str The GPU vendor name (e.g., "NVIDIA", "AMD", "Intel"). [optional]
model str The GPU model name (e.g., "RTX 4090", "GA10B"). [optional]
pci_device_id str PCI device ID of the GPU, as read from the PCI configuration register (e.g., "0x2717"). [optional]
pci_address str PCI bus address in BDF notation (e.g., "0000:01:00.0"). [optional]
pci_revision_id str PCI revision ID of the GPU (e.g., "0xa1"). [optional]
pci_vendor_id str PCI vendor ID of the GPU (e.g., "0x10de" for NVIDIA). [optional]
memory_bytes int The amount of GPU memory in bytes. [optional]
arch str GPU microarchitecture generation name as defined in the hardware map or platform lookup table (e.g., "Ada", "Ampere", "Volta", "Maxwell" for NVIDIA; "RDNA3", "CDNA3" for AMD). This is the vendor marketing name for the GPU microarchitecture, not the host CPU ISA or a compute-capability version string. [optional]
features List[str] Vendor-specific GPU capability identifiers sourced from the hardware map. Values are lowercase tokens describing supported compute or display features (e.g., "cuda", "rocm", "opencl", "sriov", "mig"). The vocabulary is extensible and determined by the hardware map; no fixed enum is enforced. [optional]

Example

from flightctl.models.device_gpu import DeviceGpu

# TODO update the JSON string below
json = "{}"
# create an instance of DeviceGpu from a JSON string
device_gpu_instance = DeviceGpu.from_json(json)
# print the JSON string representation of the object
print(DeviceGpu.to_json())

# convert the object into a dict
device_gpu_dict = device_gpu_instance.to_dict()
# create an instance of DeviceGpu from a dict
device_gpu_from_dict = DeviceGpu.from_dict(device_gpu_dict)

[Back to Model list] [Back to API list] [Back to README]