Add automatic self test.
This commit is contained in:
parent
8235ae0fa6
commit
361394be21
5 changed files with 54 additions and 40 deletions
2
xmrig.c
2
xmrig.c
|
@ -289,7 +289,7 @@ static void *miner_thread(void *userdata) {
|
|||
}
|
||||
|
||||
uint32_t *nonceptr = (uint32_t*) (((char*)work.data) + 39);
|
||||
uint32_t hash[32 / 4] __attribute__((aligned(32)));
|
||||
uint32_t hash[8] __attribute__((aligned(32)));
|
||||
|
||||
while (1) {
|
||||
unsigned long hashes_done;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue