Browse Source

core: Accidentally left a part of a previously non-merged commit (thread display).

IMO threads don't change dynamically, so they shouldn't be displayed
in the main window, but in "GPU settings" menu instead.
nfactor-troky
Noel Maersk 11 years ago
parent
commit
9d0b7f9658
  1. 4
      driver-opencl.c

4
driver-opencl.c

@ -1120,9 +1120,9 @@ static void get_opencl_statline_before(char *buf, size_t bufsiz, struct cgpu_inf @@ -1120,9 +1120,9 @@ static void get_opencl_statline_before(char *buf, size_t bufsiz, struct cgpu_inf
static void get_opencl_statline(char *buf, size_t bufsiz, struct cgpu_info *gpu)
{
if (gpu->xintensity > 0)
tailsprintf(buf, bufsiz, " xI:%3d", gpu->threads, gpu->xintensity);
tailsprintf(buf, bufsiz, " xI:%3d", gpu->xintensity);
else
tailsprintf(buf, bufsiz, " I:%2d", gpu->threads, gpu->intensity);
tailsprintf(buf, bufsiz, " I:%2d", gpu->intensity);
}
struct opencl_thread_data {

Loading…
Cancel
Save