mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-12-22 15:58:53 +00:00
Fix superscalar-stats generator initialization
This commit is contained in:
parent
be810aca0a
commit
5570c698e7
@ -17,7 +17,7 @@ int main() {
|
|||||||
int64_t size = 0;
|
int64_t size = 0;
|
||||||
for (int i = 0; i < count; ++i) {
|
for (int i = 0; i < count; ++i) {
|
||||||
randomx::SuperscalarProgram prog;
|
randomx::SuperscalarProgram prog;
|
||||||
randomx::Blake2Generator gen(seed, i);
|
randomx::Blake2Generator gen(seed, sizeof(seed), i);
|
||||||
randomx::generateSuperscalar(prog, gen);
|
randomx::generateSuperscalar(prog, gen);
|
||||||
asicLatency += prog.asicLatency;
|
asicLatency += prog.asicLatency;
|
||||||
codesize += prog.codeSize;
|
codesize += prog.codeSize;
|
||||||
|
Loading…
Reference in New Issue
Block a user