mirror of
https://github.com/GOSTSec/ccminer
synced 2025-01-08 22:07:56 +00:00
lyra2v2: fix tpb condition for SM 5.2
This commit is contained in:
parent
41543b5c0b
commit
94d86ca3b3
@ -362,7 +362,8 @@ void lyra2v2_cpu_hash_32(int thr_id, uint32_t threads, uint32_t startNounce, uin
|
||||
int dev_id = device_map[thr_id % MAX_GPUS];
|
||||
uint32_t tpb = TPB52;
|
||||
|
||||
if (cuda_arch[dev_id] == 500) tpb = TPB50;
|
||||
if (cuda_arch[dev_id] > 500) tpb = TPB52;
|
||||
else if (cuda_arch[dev_id] == 500) tpb = TPB50;
|
||||
else if (cuda_arch[dev_id] >= 350) tpb = TPB35;
|
||||
else if (cuda_arch[dev_id] >= 300) tpb = TPB30;
|
||||
else if (cuda_arch[dev_id] >= 200) tpb = TPB20;
|
||||
|
Loading…
Reference in New Issue
Block a user