Enabled all vector-width
authorGabriele 'matrix' Gristina <gm4tr1x@users.noreply.github.com>
Fri, 5 Feb 2016 16:55:28 +0000 (17:55 +0100)
committerGabriele 'matrix' Gristina <gm4tr1x@users.noreply.github.com>
Fri, 5 Feb 2016 16:55:28 +0000 (17:55 +0100)
tools/test.sh

index 40d11d8..45aec3c 100755 (executable)
@@ -14,8 +14,7 @@ HASH_TYPES="0 10 11 12 20 21 22 23 30 40 50 60 100 101 110 111 112 120 121 122 1
 #ATTACK_MODES="0 1 3 6 7"
 ATTACK_MODES="0 1 3 7"
 
-#VECTOR_WIDTHS="1 2 4 8"
-VECTOR_WIDTHS="1 4"
+VECTOR_WIDTHS="1 2 4 8"
 
 MATCH_PASS_ONLY="2500 5300 5400 6600 6800 8200"
 
@@ -1604,6 +1603,7 @@ while getopts "V:T:t:m:a:b:hcpd:x:o:" opt; do
         OPTS="${OPTS} --opencl-vector-width 8"
         VECTOR=8
       elif [ ${OPTARG} == "all" ]; then
+        OPTS="${OPTS} --opencl-vector-width 1,2,4,8"
         VECTOR="all"
       else
         usage
@@ -1710,7 +1710,7 @@ while getopts "V:T:t:m:a:b:hcpd:x:o:" opt; do
 done
 
 if [ "${VECTOR}" == "0" ]; then
-   VECTOR=all
+   VECTOR=custom
    OPTS="${OPTS} --opencl-vector-width 1,4"
 fi