client/scheduler: update NVidia detection

for new architectures released since 2014, including RTX range released September 2018
This commit is contained in:
RichardHaselgrove 2018-09-21 12:32:16 +01:00
parent 0a200b2dbf
commit 4f6e52f1cb
1 changed files with 16 additions and 1 deletions

View File

@ -554,10 +554,25 @@ void COPROC_NVIDIA::set_peak_flops() {
cores_per_proc = 192; cores_per_proc = 192;
break; break;
case 5: case 5:
default:
flops_per_clock = 2; flops_per_clock = 2;
cores_per_proc = 128; cores_per_proc = 128;
break; break;
case 6:
flops_per_clock = 2;
switch (minor) {
case 0: // special for Tesla P100 (GP100)
cores_per_proc = 64;
break;
default:
cores_per_proc = 128;
break;
}
break;
case 7: // for both cc7.0 (Titan V, Tesla V100) and cc7.5 (RTX, Tesla T4)
default:
flops_per_clock = 2;
cores_per_proc = 64;
break;
} }
} }