Add automatic self test.

This commit is contained in:
XMRig 2017-04-21 17:29:03 +03:00
parent 8235ae0fa6
commit 361394be21
5 changed files with 54 additions and 40 deletions

View file

@ -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;