Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions offload/utils/gpurun/gpurun
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ function execOnError() {
exec "$@"
}

if [ "$GPURUN_BYPASS" = "1" ]; then
execOnError "$@"
fi

# PROGVERSION string is updated by cmake when component is installed
PROGVERSION=X.Y-Z
function version(){
Expand Down Expand Up @@ -174,6 +170,10 @@ while [ "$_end_gpurun_opts" == "0" ] ; do
fi
done

if [ "$GPURUN_BYPASS" = "1" ]; then
execOnError "$@"
fi

# Default: quiet operation
GPURUN_VERBOSE=${GPURUN_VERBOSE:-0}
# Default: create mutually exclusive sets of CUs when GPU is oversubscribed
Expand Down