GVM User Suite
User tools for the GVM open source project.
Data Fields
Gpu Struct Reference

GPU Base Structure. More...

#include <mdev.h>

Data Fields

uint32_t domain
 Domain for the PCI device. More...
 
uint32_t bus
 Bus for the PCI device. More...
 
uint32_t slot
 Slot for the PCI device. More...
 
uint32_t function
 Function for the PCI device. More...
 
uint32_t vendor_id
 Vendor id for the PCI device. More...
 
uint32_t device_id
 Device id for the PCI device. More...
 
uint32_t sub_vendor_id
 Sub vendor id for the PCI device. More...
 
uint32_t sub_device_id
 Sub device id for the PCI device. More...
 
uint32_t identifier
 Identifier for the GPU. More...
 

Detailed Description

GPU Base Structure.

This structure is a bare bones GPU that gives us some information over how the physical connected GPU is.

Definition at line 33 of file mdev.h.

Field Documentation

◆ bus

uint32_t Gpu::bus

Bus for the PCI device.

Definition at line 35 of file mdev.h.

◆ device_id

uint32_t Gpu::device_id

Device id for the PCI device.

Definition at line 39 of file mdev.h.

◆ domain

uint32_t Gpu::domain

Domain for the PCI device.

Definition at line 34 of file mdev.h.

◆ function

uint32_t Gpu::function

Function for the PCI device.

Definition at line 37 of file mdev.h.

◆ identifier

uint32_t Gpu::identifier

Identifier for the GPU.

Definition at line 42 of file mdev.h.

◆ slot

uint32_t Gpu::slot

Slot for the PCI device.

Definition at line 36 of file mdev.h.

◆ sub_device_id

uint32_t Gpu::sub_device_id

Sub device id for the PCI device.

Definition at line 41 of file mdev.h.

◆ sub_vendor_id

uint32_t Gpu::sub_vendor_id

Sub vendor id for the PCI device.

Definition at line 40 of file mdev.h.

◆ vendor_id

uint32_t Gpu::vendor_id

Vendor id for the PCI device.

Definition at line 38 of file mdev.h.


The documentation for this struct was generated from the following file: