---

myst:
  html_meta:
    "description lang=en": "Run the AMD SMI processor discovery example to select one or all GPUs and NICs, inspect virtual functions, and resolve processor handles from indexes, BDFs, and UUIDs. Python and Go examples are shown side by side."
    "keywords": "amd, smi, python, go, golang, processor discovery, GPU, NIC, virtual function, VF, BDF, UUID, handle, example"

---

# Run the AMD SMI processor discovery example

::::{tab-set}

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

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

:::

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

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

:::

::::
