1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 09:58:16 +00:00

Set default vector-width to 1,4 in test.sh

This commit is contained in:
Gabriele 'matrix' Gristina 2016-02-05 17:51:47 +01:00
parent 7c8532fe93
commit f020dfd55f

View File

@ -1535,6 +1535,7 @@ OPTIONS:
'2' => vector-width 2 (default) '2' => vector-width 2 (default)
'4' => vector-width 4 '4' => vector-width 4
'8' => vector-width 8 '8' => vector-width 8
'all' => test sequentially vector-width ${VECTOR_WIDTHS}
-T OpenCL device-types to use : -T OpenCL device-types to use :
'gpu' => gpu devices (default) 'gpu' => gpu devices (default)
@ -1709,8 +1710,8 @@ while getopts "V:T:t:m:a:b:hcpd:x:o:" opt; do
done done
if [ "${VECTOR}" == "0" ]; then if [ "${VECTOR}" == "0" ]; then
VECTOR=2 VECTOR=all
OPTS="${OPTS} --opencl-vector-width 2" OPTS="${OPTS} --opencl-vector-width 1,4"
fi fi
if [ "${TYPE}" == "null" ]; then if [ "${TYPE}" == "null" ]; then