KawPow: reduced stale/expired shares

This commit is contained in:
SChernykh 2020-05-31 18:22:21 +02:00
parent 95ef32c913
commit 9cbdb7f1f2
22 changed files with 218 additions and 104 deletions

View file

@ -53,7 +53,10 @@ bool ocl_generic_kawpow_generator(const OclDevice &device, const Algorithm &algo
break;
}
threads.add(OclThread(device.index(), device.computeUnits() * 262144, isNavi ? 128 : 256, 1));
const uint32_t cu_intensity = isNavi ? 524288 : 262144;
const uint32_t worksize = isNavi ? 128 : 256;
threads.add(OclThread(device.index(), device.computeUnits() * cu_intensity, worksize, 1));
return true;
}