From b191d713a079b956f911d8b710d4064dd03e6f52 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 26 Oct 2014 11:18:59 +0100 Subject: [PATCH] s3: reduce a bit the intensity on windows --- x11/s3.cu | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/x11/s3.cu b/x11/s3.cu index d834f08..08f4018 100644 --- a/x11/s3.cu +++ b/x11/s3.cu @@ -57,7 +57,12 @@ extern "C" int scanhash_s3(int thr_id, uint32_t *pdata, unsigned long *hashes_done) { const uint32_t first_nonce = pdata[19]; - const int throughput = 256*256*8*2; +#ifdef WIN32 + // reduce a bit the intensity on windows + const int throughput = 256 * 256 * 8; +#else + const int throughput = 256 * 256 * 8 * 2; +#endif static bool init[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };