我正在使用 cc 将用C编写的CUDA内核链接到Rust。 这是我的build.rs文件: extern crate cc; fn main() { cc::Build::new() .cuda(true) .flag("-cudart=shared") ...
確定! 回上一頁