> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sdk-user-guide/_mcp/server.

# holoscan::GPUInfo

> GPUInfo struct.

`GPUInfo` struct.

This struct is responsible for holding the GPU information.

```cpp showLineNumbers={false}
#include <holoscan/gpu_info.hpp>
```

***

## Member variables

| 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). |