mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 13:04:29 +00:00
Fix broken assert in algo bencher
This commit is contained in:
parent
6fd06387b3
commit
84b0467cb2
2
main.c
2
main.c
@ -399,7 +399,7 @@ static double bench_algo_stage3(
|
|||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
};
|
};
|
||||||
struct work work __attribute__((aligned(128)));
|
struct work work __attribute__((aligned(128)));
|
||||||
assert(sizeof(work) == sizeof(some_block));
|
assert(sizeof(work) <= sizeof(some_block));
|
||||||
memcpy(&work, &some_block, sizeof(work));
|
memcpy(&work, &some_block, sizeof(work));
|
||||||
|
|
||||||
struct work_restart dummy;
|
struct work_restart dummy;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user