holoscan::GPUInfo
holoscan::GPUInfo
holoscan::GPUInfo
GPUInfo struct.
This struct is responsible for holding the GPU information.
#include <holoscan/gpu_info.hpp>
| Name | Type | Description |
|---|---|---|
metric_flags | uint64_t | The metric flags. |
index | uint32_t | The GPU index. |
name | char | The GPU name. |
is_integrated | bool | The GPU is integrated. |
pci | nvml::nvmlPciInfo_st | The GPU PCI information. |
serial | char | The GPU serial number. |
uuid | char | The GPU UUID. |
gpu_utilization | uint32_t | The GPU utilization. |
memory_utilization | uint32_t | The memory utilization. |
memory_total | uint64_t | The total memory (in bytes). |
memory_free | uint64_t | The free memory (in bytes). |
memory_used | uint64_t | The used memory (in bytes). |
memory_usage | float | The memory usage (in percent). |
power_limit | uint32_t | The power limit (in milliwatts). |
power_usage | uint32_t | The power usage (in milliwatts). |
temperature | uint32_t | The temperature (in degrees Celsius). |