Fix superscalar-stats generator initialization

This commit is contained in:
tevador 2019-10-11 12:04:55 +02:00
parent be810aca0a
commit 5570c698e7

View File

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