Skip to main content

arch_dir_name

Function arch_dir_name 

Source
pub fn arch_dir_name(archs: &str) -> String
Expand description

Convert a ;-separated CUDA capability list into a variant directory name: "6.1;12.0" -> "sm61-sm120", "12.0" -> "sm120". Shared by the libtorch and NCCL source builders so their variant paths cannot drift.