Skip to content

Commit

Permalink
gpu_stream already initialized in gpu_init() and it's an external var…
Browse files Browse the repository at this point in the history
…iable
  • Loading branch information
e-ago committed May 11, 2018
1 parent c7aace1 commit 06d047a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/gds_poll_lat.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int main(int argc, char *argv[])
int use_combined = 0;
int use_membar = 0;
int wait_key = -1;
CUstream gpu_stream;
//CUstream gpu_stream;

int n_bg_streams = 0;

Expand Down Expand Up @@ -112,7 +112,7 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}

CUCHECK(cuStreamCreate(&gpu_stream, 0));
//CUCHECK(cuStreamCreate(&gpu_stream, 0));

puts("");
printf("number iterations %d\n", num_iters);
Expand Down
4 changes: 2 additions & 2 deletions tests/gds_sanity.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ int main(int argc, char *argv[])
int use_combined = 0;
int use_membar = 0;
int wait_key = -1;
CUstream gpu_stream;
//CUstream gpu_stream;

int n_bg_streams = 0;

Expand Down Expand Up @@ -121,7 +121,7 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}

CUCHECK(cuStreamCreate(&gpu_stream, 0));
//CUCHECK(cuStreamCreate(&gpu_stream, 0));

puts("");
printf("number iterations %d\n", num_iters);
Expand Down

0 comments on commit 06d047a

Please sign in to comment.