mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 14:17:33 -05:00
Dataset size increased to 2080 MiB
Implemented dataset base offset Tweaked SuperscalarHash constants to prevent register collisions
This commit is contained in:
@@ -28,7 +28,7 @@ namespace randomx {
|
||||
template<class Allocator, bool softAes>
|
||||
void CompiledVm<Allocator, softAes>::setDataset(randomx_dataset* dataset) {
|
||||
mem.memory = dataset->memory;
|
||||
//datasetBasePtr = dataset.memory;
|
||||
datasetBasePtr = dataset->memory;
|
||||
}
|
||||
|
||||
template<class Allocator, bool softAes>
|
||||
@@ -36,7 +36,7 @@ namespace randomx {
|
||||
VmBase<Allocator, softAes>::generateProgram(seed);
|
||||
randomx_vm::initialize();
|
||||
compiler.generateProgram(program, config);
|
||||
//mem.memory = datasetBasePtr + (datasetBase * CacheLineSize);
|
||||
mem.memory = datasetBasePtr + datasetOffset;
|
||||
execute();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user