From cf9e09b115bae0ad9cbb2ad3594f0f10f30a813b Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Thu, 28 Dec 2017 21:51:47 +0800 Subject: [PATCH] set openblas env to avoid threads conflicts --- benchmark/paddle/image/run_openblas_train.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmark/paddle/image/run_openblas_train.sh b/benchmark/paddle/image/run_openblas_train.sh index e9df83fee2a..d82c8384e06 100755 --- a/benchmark/paddle/image/run_openblas_train.sh +++ b/benchmark/paddle/image/run_openblas_train.sh @@ -2,6 +2,7 @@ set -e function train() { unset OMP_NUM_THREADS MKL_NUM_THREADS OMP_DYNAMIC KMP_AFFINITY + export OPENBLAS_NUM_THREADS=1 topology=$1 layer_num=$2 bs=$3 -- GitLab