mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
The gpuminer thread uses very little cpu and needs to keep the gpu busy with as few delays as possible. Don't nice it.
This commit is contained in:
parent
f54d2cc0ed
commit
932ff72f70
@ -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…
x
Reference in New Issue
Block a user