Skip to main content

arch_compatible

Function arch_compatible 

Source
pub fn arch_compatible(gpu: &GpuInfo, archs: &str) -> bool
Expand description

Check whether a GPU’s compute capability is covered by the libtorch variant’s compiled architectures (from the .arch file).