Browse Source

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

master
samr7 13 years ago
parent
commit
df05bc7784
  1. 4
      oclvanitygen.c

4
oclvanitygen.c

@ -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) { if (vcp->vc_verbose > 0) {
printf("WARNING: Hardware verification mode enabled\n"); printf("WARNING: Hardware verification mode enabled\n");
} }
if (!worksize) if (!nthreads)
worksize = 1; nthreads = 1;
vocp->voc_verify_func[0] = vg_ocl_verify_k0; vocp->voc_verify_func[0] = vg_ocl_verify_k0;
vocp->voc_verify_func[1] = vg_ocl_verify_k1; vocp->voc_verify_func[1] = vg_ocl_verify_k1;
} }

Loading…
Cancel
Save