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 1bcaf3f commit a649d75Copy full SHA for a649d75
1 file changed
vortex-cuda/build.rs
@@ -35,6 +35,13 @@ fn main() {
35
36
println!("cargo:rerun-if-env-changed=PROFILE");
37
38
+ // nvcc availability depends on PATH (e.g. entering/leaving a nix shell that
39
+ // provides cuda_nvcc). Without this, cargo caches a stale build.rs result
40
+ // from an environment without nvcc, and switching to one with nvcc does not
41
+ // trigger PTX recompilation — producing a binary with an empty embedded_ptx
42
+ // table that silently falls back to CPU at runtime.
43
+ println!("cargo:rerun-if-env-changed=PATH");
44
+
45
// Regenerate bit_unpack kernels only when the generator changes
46
println!(
47
"cargo:rerun-if-changed={}",
0 commit comments