Browse Source

The gpuminer thread uses very little cpu and needs to keep the gpu busy with as few delays as possible. Don't nice it.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
932ff72f70
  1. 2
      cpu-miner.c

2
cpu-miner.c

@ -798,8 +798,6 @@ static void *gpuminer_thread(void *userdata)
uint32_t res[128], blank_res[128]; uint32_t res[128], blank_res[128];
cl_kernel *kernel; cl_kernel *kernel;
setpriority(PRIO_PROCESS, 0, 19);
memset(blank_res, 0, BUFFERSIZE); memset(blank_res, 0, BUFFERSIZE);
size_t globalThreads[1]; size_t globalThreads[1];

Loading…
Cancel
Save