Skip to content

Commit

Permalink
cuda feature (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: Hanting Zhang <[email protected]>
  • Loading branch information
winston-h-zhang and Hanting Zhang committed Jan 11, 2024
1 parent e30d10d commit 12a0fdc
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 12a0fdc

Please sign in to comment.