1
0
mirror of https://github.com/GOSTSec/vanitygen synced 2025-02-07 04:14:15 +00:00

Don't try to change the worksize under -V, change the thread count.

This commit is contained in:
samr7 2011-08-14 11:22:49 -07:00
parent 0c1787bada
commit df05bc7784

View File

@ -1872,8 +1872,8 @@ vg_opencl_loop(vg_context_t *vcp, cl_device_id did, int safe_mode, int verify,
if (vcp->vc_verbose > 0) {
printf("WARNING: Hardware verification mode enabled\n");
}
if (!worksize)
worksize = 1;
if (!nthreads)
nthreads = 1;
vocp->voc_verify_func[0] = vg_ocl_verify_k0;
vocp->voc_verify_func[1] = vg_ocl_verify_k1;
}