Registry / other / amdgpu

amdgpu

JSON →
library1.0.12rscratesunverified

Subcomponent of the AMDGPU fan control service for managing GPU fan speeds on AMD hardware.

# Cargo.toml [dependencies] amdgpu = "1.0.12"
INSTALL
IMPORT
SIG · AMDGPU
A
amdgpu
otherrustv1.0.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AmdGpu
use amdgpu::AmdGpu;

Access AMD GPU temperature and fan control.

use amdgpu::AmdGpu; fn main() { let gpu = AmdGpu::new(0).unwrap(); println!("GPU temperature: {}°C", gpu.temperature().unwrap()); }
Debug
Known issues
gotchaOnly works on Linux with AMDGPU kernel driver; requires root or appropriate permissions.
fix
Run as root or set up udev rules for /sys/class/drm/card*/device/hwmon.
affects: >=1.0.0
Upgrade
Version history
1.0.12latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
50 hits · last 30 days
node
44
Meta
2
Amazon
1
OpenAI (training)
1
Resources
amdgpu — cargo add amdgpu · libregistry