Skip to content

Commit

Permalink
Merge pull request #4441 from tensor-tang/develop
Browse files Browse the repository at this point in the history
should reset env every time
  • Loading branch information
luotao1 authored Sep 28, 2017
2 parents 424c295 + cfa86a3 commit 4fcced9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions benchmark/paddle/image/run_mkldnn.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4fcced9

Please sign in to comment.