mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-26 22:12:53 -05:00
KawPow: reduced stale/expired shares
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user