mirror of https://github.com/BOINC/boinc.git
client/scheduler: update NVidia detection
for new architectures released since 2014, including RTX range released September 2018
This commit is contained in:
parent
0a200b2dbf
commit
4f6e52f1cb
|
@ -554,10 +554,25 @@ void COPROC_NVIDIA::set_peak_flops() {
|
|||
cores_per_proc = 192;
|
||||
break;
|
||||
case 5:
|
||||
default:
|
||||
flops_per_clock = 2;
|
||||
cores_per_proc = 128;
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue