mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-09 14:28:12 +00:00
add credits
This commit is contained in:
parent
292ede3338
commit
6d5e7bdd31
@ -1,6 +1,6 @@
|
|||||||
/*-
|
/*-
|
||||||
* Copyright 2009 Colin Percival, 2011 ArtForz, 2011 pooler, 2012 mtrlt,
|
* Copyright 2009 Colin Percival, 2011 ArtForz, 2011 pooler, 2012 mtrlt,
|
||||||
* 2012-2013 Con Kolivas.
|
* 2012-2013 Con Kolivas, 2014 Bufius.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -706,9 +706,9 @@ __kernel void search(__global const uint4 * const restrict input,
|
|||||||
SHA256_fixed(&tmp0, &tmp1);
|
SHA256_fixed(&tmp0, &tmp1);
|
||||||
SHA256(&ostate0, &ostate1, tmp0, tmp1, (uint4)(K[84], 0U, 0U, 0U), (uint4)(0U, 0U, 0U, K[88]));
|
SHA256(&ostate0, &ostate1, tmp0, tmp1, (uint4)(K[84], 0U, 0U, 0U), (uint4)(0U, 0U, 0U, K[88]));
|
||||||
|
|
||||||
bool found = EndianSwap(ostate1.w) <= target;
|
bool found = EndianSwap(ostate1.w) <= target;
|
||||||
barrier(CLK_GLOBAL_MEM_FENCE);
|
barrier(CLK_GLOBAL_MEM_FENCE);
|
||||||
if (found)
|
if (found)
|
||||||
SETFOUND(get_global_id(0));
|
SETFOUND(get_global_id(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user