Skip to content

Commit

Permalink
add flags to build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
imaqtkatt committed Aug 27, 2024
1 parent c3cf50f commit 8ddc3aa
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 @@ -37,6 +37,8 @@ fn main() {
.flag("-diag-suppress=177") // variable was declared but never referenced
.flag("-diag-suppress=550") // variable was set but never used
.flag("-diag-suppress=20039") // a __host__ function redeclared with __device__, hence treated as a __host__ __device__ function
.flag("-diag-suppress=68") // integer conversion resulted in a change of sign
.flag("-diag-suppress=2464") // conversion from a string literal to "char *" is deprecated
.compile("hvm-cu");

println!("cargo:rustc-cfg=feature=\"cuda\"");
Expand Down

0 comments on commit 8ddc3aa

Please sign in to comment.