!10670 fix maskrcnn 16p performance bug

From: @gengdongjie
Reviewed-by: @oacjiewen,@linqingke
Signed-off-by: @linqingke
This commit is contained in:
mindspore-ci-bot 2020-12-29 09:09:15 +08:00 committed by Gitee
commit 266fd1a52c
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export RANK_TABLE_FILE=$PATH1
echo 3 > /proc/sys/vm/drop_caches echo 3 > /proc/sys/vm/drop_caches
cpus=`cat /proc/cpuinfo| grep "processor"| wc -l` cpus=`cat /proc/cpuinfo| grep "processor"| wc -l`
avg=`expr $cpus \/ $RANK_SIZE` avg=`expr $cpus \/ $DEVICE_NUM`
gap=`expr $avg \- 1` gap=`expr $avg \- 1`
for((i=0; i<${DEVICE_NUM}; i++)) for((i=0; i<${DEVICE_NUM}; i++))