Simple, but effective workaround to solve the 100% CPU burning loop bug in Nvidias OpenCL runtime, works Linux and Windows, 0% cpu (alsmost), 100% performance in comparison to CPU burning loop variant. Replaces old previous try with overwritten clock_gettime() function
This commit is contained in:
@@ -988,6 +988,7 @@ struct __hc_device_param
|
||||
|
||||
uint exec_pos;
|
||||
double exec_ms[EXEC_CACHE];
|
||||
double exec_prev;
|
||||
|
||||
// this is "current" speed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user