Commit a5729f7b authored by Karel Vesely's avatar Karel Vesely
Browse files

trunk,nnet1 : bugfix in cuda-gpu detection (mmi/mpe script itself is not...

trunk,nnet1 : bugfix in cuda-gpu detection (mmi/mpe script itself is not running on a machinge with GPU, it submits job to a GPU node)


git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@5201 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent bdf0ab92
......@@ -58,8 +58,8 @@ for f in $data/feats.scp $alidir/{tree,final.mdl,ali.1.gz} $denlatdir/lat.scp $s
[ ! -f $f ] && echo "$0: no such file $f" && exit 1;
done
# check if CUDA compiled in and GPU is available,
if ! $skip_cuda_check; then cuda-gpu-available || exit 1; fi
# check if CUDA compiled in,
if ! $skip_cuda_check; then cuda-compiled || { echo "Error, CUDA not compiled-in!"; exit 1; } fi
mkdir -p $dir/log
......
......@@ -59,8 +59,8 @@ for f in $data/feats.scp $alidir/{tree,final.mdl,ali.1.gz} $denlatdir/lat.scp $s
[ ! -f $f ] && echo "$0: no such file $f" && exit 1;
done
# check if CUDA compiled in and GPU is available,
if ! $skip_cuda_check; then cuda-gpu-available || exit 1; fi
# check if CUDA compiled in,
if ! $skip_cuda_check; then cuda-compiled || { echo "Error, CUDA not compiled-in!"; exit 1; } fi
mkdir -p $dir/log
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment