pub fn parse_device(s: &str) -> Result<Device>Expand description
Parse a device alias. Delegates to the upstream FromStr for Device
impl in rlx-driver, which knows every alias (mps, wgpu, hip,
…) and returns a uniform error string. Kept as a wrapper that
surfaces anyhow::Result so existing callers don’t change.