Skip to content

Commit

Permalink
cuda feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanting Zhang committed Jan 8, 2024
1 parent 311ec73 commit 319da55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ fn main() {
compile_cuda("cuda/pallas.cu", "pallas_msm_cuda", implement_sort);
compile_cuda("cuda/vesta.cu", "vesta_msm_cuda", implement_sort);
println!("cargo:rerun-if-changed=cuda");
println!("cargo:rerun-if-env-changed=CXXFLAGS");
println!("cargo:rustc-cfg=feature=\"cuda\"");
}
println!("cargo:rerun-if-env-changed=NVCC");
}
Expand Down

0 comments on commit 319da55

Please sign in to comment.