Skip to content

Commit

Permalink
remove unused header file and remove suppress flags
Browse files Browse the repository at this point in the history
  • Loading branch information
imaqtkatt committed Aug 30, 2024
1 parent 38408af commit e303e04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ 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
1 change: 0 additions & 1 deletion src/run.cu
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <stdio.h>
#include <dirent.h>
#include <sys/stat.h>
#include <string.h>
#include <ftw.h>
#include "hvm.cu"

Expand Down

0 comments on commit e303e04

Please sign in to comment.