---

myst:
  html_meta:
    "description lang=en": "Interactively display AMD GPU power and performance control information or temporarily set and restore a selected GPU's power cap and SoC P-state policy with the AMD SMI power and performance example. Python and Go examples are shown side by side."
    "keywords": "amd, smi, python, go, golang, GPU, power cap, power management, SoC P-state, interactive, example"

---

# Run the AMD SMI power and performance control example

::::{tab-set}

:::{tab-item} Python
:sync: python

```{include} ../../../py/examples/power_perf_control/README.md
:start-line: 2
```

:::

:::{tab-item} Go
:sync: go

```{include} ../../../go/examples/power_perf_control/README.md
:start-line: 2
```

:::

::::
