should reset env every time

update-doc-pybind
tensor-tang 7 years ago
parent cce682fef8
commit cfa86a3f70

@ -1,10 +1,9 @@
set -e
unset OMP_NUM_THREADS MKL_NUM_THREADS
export OMP_DYNAMIC="FALSE"
export KMP_AFFINITY="granularity=fine,compact,0,0"
function train() {
unset OMP_NUM_THREADS MKL_NUM_THREADS
export OMP_DYNAMIC="FALSE"
export KMP_AFFINITY="granularity=fine,compact,0,0"
topology=$1
bs=$2
use_mkldnn=$3

Loading…
Cancel
Save