We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c3e66b + 4af5d3e commit 535a6e9Copy full SHA for 535a6e9
paddle/scripts/submit_local.sh.in
@@ -54,7 +54,7 @@ function cpu_config() {
54
if [ $platform == "Linux" ]; then
55
ht=`lscpu |grep "per core"|awk -F':' '{print $2}'|xargs`
56
elif [ $platform == "Darwin" ]; then
57
- if [`sysctl -n hw.physicalcpu` -eq `sysctl -n hw.logicalcpu`]; then
+ if [ `sysctl -n hw.physicalcpu` -eq `sysctl -n hw.logicalcpu` ]; then
58
# HT is OFF
59
ht=1
60
fi
0 commit comments