Skip to content

Commit

Permalink
hid GPUs if the -G flag not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
justanhduc committed Feb 4, 2021
1 parent 1916f1c commit fe0e2d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ int c_wait_server_commands() {
putenv(tmp);
}
free(freeList);
} else {
putenv("CUDA_VISIBLE_DEVICES=-1");
}

run_job(&result);
Expand Down

0 comments on commit fe0e2d7

Please sign in to comment.