KawPow: reduced stale/expired shares
This commit is contained in:
parent
95ef32c913
commit
9cbdb7f1f2
22 changed files with 218 additions and 104 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue