Skip to content

Commit

Permalink
set GPU from exclusive process to default mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nadyawilliams committed Apr 16, 2016
1 parent cc818d2 commit 09d827a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nvidia-driver/nvidia
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ function removenodes() {
rm -f /dev/nvidia*
}

# set GPU exclusive process access on all gpus
# set GPU to default mode on all gpus
function setgpuaccess() {
/usr/bin/nvidia-smi -c 3
/usr/bin/nvidia-smi -c 0
RETVAL=$?
[ "$RETVAL" = 0 ] || exit $RETVAL
}
Expand Down

0 comments on commit 09d827a

Please sign in to comment.