pub fn preflight_arch(ptx_set: &TargetPtxSet) -> Option<&'static str>Expand description
2026-09-25: The architecture string the preflight judges: the target’s
ptx_arch ([hardware].arch verbatim, e.g. sm_90a), not
target.arch, which has the a/f suffix stripped. The suffix decides
which devices the PTX runs on: plain sm_90 passes on CC 10.0 and 12.1,
sm_90a does not (ptx_arch_runs_on_device).
None when ptx_arch is empty; the preflight then warns and skips.