mirror of
https://github.com/GOSTSec/ccminer
synced 2025-01-22 12:34:17 +00:00
s3: reduce a bit the intensity on windows
This commit is contained in:
parent
f7849d36a1
commit
b191d713a0
@ -57,7 +57,12 @@ extern "C" int scanhash_s3(int thr_id, uint32_t *pdata,
|
|||||||
unsigned long *hashes_done)
|
unsigned long *hashes_done)
|
||||||
{
|
{
|
||||||
const uint32_t first_nonce = pdata[19];
|
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 };
|
static bool init[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user