Merge pull request #12509 from JiabinYang/scripts0802

fix the paddle script causes 'command not found' error'
revert-12469-sum_op_dim_fix
Chen Weihang 7 years ago committed by GitHub
commit 535a6e9206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,7 +54,7 @@ function cpu_config() {
if [ $platform == "Linux" ]; then if [ $platform == "Linux" ]; then
ht=`lscpu |grep "per core"|awk -F':' '{print $2}'|xargs` ht=`lscpu |grep "per core"|awk -F':' '{print $2}'|xargs`
elif [ $platform == "Darwin" ]; then elif [ $platform == "Darwin" ]; then
if [`sysctl -n hw.physicalcpu` -eq `sysctl -n hw.logicalcpu`]; then if [ `sysctl -n hw.physicalcpu` -eq `sysctl -n hw.logicalcpu` ]; then
# HT is OFF # HT is OFF
ht=1 ht=1
fi fi

Loading…
Cancel
Save