KawPow: reduced stale/expired shares

This commit is contained in:
SChernykh
2020-05-31 18:22:21 +02:00
parent 4bf7b05933
commit afdf26616e
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;
}