File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,14 @@ for i in $(seq 128 255); do
7373 vendor=$( cat " /sys/class/drm/renderD$i /device/vendor" )
7474 if [ " $vendor " = " $intel " ]; then
7575 visible=$(( visible+ 1 ))
76- if [ $visible -eq $required ]; then
76+ if [ $visible -eq " $required " ]; then
7777 break
7878 fi
7979 fi
8080 fi
8181done
8282
83- if [ $visible -ne $required ]; then
83+ if [ $visible -ne " $required " ]; then
8484 usage " $visible Intel GPU(s) found, not $required as requested"
8585fi
8686device=" /dev/dri/renderD$i "
@@ -91,7 +91,7 @@ if [ $# -eq 0 ]; then
9191fi
9292
9393if [ $# -lt 2 ]; then
94- usage " media program and/or GPU selection option missing"
94+ usage " media program and/or its GPU selection option missing"
9595fi
9696
9797# run given media workload with GPU device name appended to end
You can’t perform that action at this time.
0 commit comments