From f020dfd55f69cd4dd5277de741d7484a103aa681 Mon Sep 17 00:00:00 2001 From: Gabriele 'matrix' Gristina Date: Fri, 5 Feb 2016 17:51:47 +0100 Subject: [PATCH 1/2] Set default vector-width to 1,4 in test.sh --- tools/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/test.sh b/tools/test.sh index 5f6fad153..40d11d898 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -1535,6 +1535,7 @@ OPTIONS: '2' => vector-width 2 (default) '4' => vector-width 4 '8' => vector-width 8 + 'all' => test sequentially vector-width ${VECTOR_WIDTHS} -T OpenCL device-types to use : 'gpu' => gpu devices (default) @@ -1709,8 +1710,8 @@ while getopts "V:T:t:m:a:b:hcpd:x:o:" opt; do done if [ "${VECTOR}" == "0" ]; then - VECTOR=2 - OPTS="${OPTS} --opencl-vector-width 2" + VECTOR=all + OPTS="${OPTS} --opencl-vector-width 1,4" fi if [ "${TYPE}" == "null" ]; then From d9bcf7fe9714a1e49d5db58fc449ff77cb0123b5 Mon Sep 17 00:00:00 2001 From: Gabriele 'matrix' Gristina Date: Fri, 5 Feb 2016 17:55:28 +0100 Subject: [PATCH 2/2] Enabled all vector-width --- tools/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/test.sh b/tools/test.sh index 40d11d898..45aec3c5a 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -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