pub fn device_compute_capability() -> Result<(u32, u32)>Expand description
2026-09-25: (major, minor) compute capability of the device of the
calling thread’s current context; fails without one. --check-kernels
calls it after the backend is built (kernel_gate.rs
current_device_cc). The preflight uses device_compute_capability_of
instead.