Skip to main content

toolkit_gap

Function toolkit_gap 

Source
pub fn toolkit_gap(vendor: GpuVendor) -> Option<ToolkitGap>
Expand description

Resolve the toolkit gap for a vendor, None when the headers are all present — or when the vendor has no known toolkit layout, since guessing one produces a confidently wrong apt command.

The ROCm root comes from flodl-hw’s resolution (env chain + convention, runtime-verified) so this check and the loader path cannot disagree about where ROCm lives.