We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce296fc commit 96cd3afCopy full SHA for 96cd3af
crates/cuda_builder/src/lib.rs
@@ -761,6 +761,10 @@ fn invoke_rustc(builder: &CudaBuilder) -> Result<PathBuf, CudaBuilderError> {
761
llvm_args.push("--override-libm".to_string());
762
}
763
764
+ if builder.use_constant_memory_space {
765
+ llvm_args.push("--use-constant-memory-space".to_string());
766
+ }
767
+
768
if let Some(path) = &builder.final_module_path {
769
llvm_args.push("--final-module-path".to_string());
770
llvm_args.push(path.to_str().unwrap().to_string());
0 commit comments