!10670 fix maskrcnn 16p performance bug
From: @gengdongjie Reviewed-by: @oacjiewen,@linqingke Signed-off-by: @linqingke
This commit is contained in:
commit
266fd1a52c
|
@ -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++))
|
||||||
|
|
Loading…
Reference in New Issue