Skip to content
Snippets Groups Projects
Unverified Commit 8df8248a authored by i-robot's avatar i-robot Committed by Gitee
Browse files

!3872 fix bad perf in 16 cards scenario

Merge pull request !3872 from luoyang/mymaster
parents e302b4d2 11d0616f
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ export RANK_SIZE=8
export RANK_TABLE_FILE=$RANK_TABLE_FILE
cpus=`cat /proc/cpuinfo| grep "processor"| wc -l`
avg=`expr $cpus \/ $RANK_SIZE`
avg=`expr $cpus \/ $DEVICE_NUM`
gap=`expr $avg \- 1`
for((i=0; i<${DEVICE_NUM}; i++))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment