1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-03 02:24:35 +00:00

Put scrypt warning on separate line to avoid 0 being shown on windows as bufsize.

This commit is contained in:
Con Kolivas 2012-10-07 10:00:02 +11:00
parent 461b7c6de2
commit 40b747bae6
2 changed files with 3 additions and 3 deletions

View File

@ -378,7 +378,7 @@ struct cgpu_info {
#ifdef USE_SCRYPT
int opt_lg, lookup_gap;
int opt_tc, thread_concurrency;
size_t opt_tc, thread_concurrency;
int shaders;
#endif
struct timeval tv_gpustart;

4
ocl.c
View File

@ -810,8 +810,8 @@ built:
/* Use the max alloc value which has been rounded to a power of
* 2 greater >= required amount earlier */
if (bufsize > cgpu->max_alloc) {
applog(LOG_WARNING, "Maximum buffer memory device %d supports says %u, your scrypt settings come to %u",
gpu, cgpu->max_alloc, bufsize);
applog(LOG_WARNING, "Maximum buffer memory device %d supports says %u", gpu, cgpu->max_alloc);
applog(LOG_WARNING, "Your scrypt settings come to %u", bufsize);
} else
bufsize = cgpu->max_alloc;
applog(LOG_DEBUG, "Creating scrypt buffer sized %d", bufsize);