# Reading GPU information
```rust,no_run
# fn main() -> Result<(), Box<dyn std::error::Error>> {
use sinf::gpu::Gpus;
let gpus = Gpus::new_with_refreshed_list()?;
for gpu in &gpus {
println!(
"{:?} ({:?}): {:?} / {:?} bytes at {:?}%",
gpu.model(),
gpu.vendor(),
gpu.used_memory(),
gpu.total_memory(),
gpu.usage(),
);
println!("pci: {:?}", gpu.pci());
}
# Ok(())
# }
```
GPU support depends on the platform and on the available drivers. Apple
M-series GPUs report a synthetic PCI address.