Skip to content

Commit e303e04

Browse files
committed
remove unused header file and remove suppress flags
1 parent 38408af commit e303e04

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ fn main() {
3737
.flag("-diag-suppress=177") // variable was declared but never referenced
3838
.flag("-diag-suppress=550") // variable was set but never used
3939
.flag("-diag-suppress=20039") // a __host__ function redeclared with __device__, hence treated as a __host__ __device__ function
40-
.flag("-diag-suppress=68") // integer conversion resulted in a change of sign
41-
.flag("-diag-suppress=2464") // conversion from a string literal to "char *" is deprecated
4240
.compile("hvm-cu");
4341

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

src/run.cu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include <stdio.h>
44
#include <dirent.h>
55
#include <sys/stat.h>
6-
#include <string.h>
76
#include <ftw.h>
87
#include "hvm.cu"
98

0 commit comments

Comments
 (0)