Merge pull request #4031 from BOINC/RH_GPU_NVdetect2

client/scheduler: update NVidia detection again
This commit is contained in:
Vitalii Koshura 2021-02-20 06:27:07 +01:00 committed by GitHub
commit 51047f275a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -565,10 +565,21 @@ void COPROC_NVIDIA::set_peak_flops() {
}
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;
case 8: // for cc8.0 (A100) and cc8.6 (GeForce RTX 30x0 - GA102 and above)
default:
flops_per_clock = 2;
switch (minor) {
case 0: // special for A100 Tensor Core datacenter GPU
cores_per_proc = 64;
break;
default:
cores_per_proc = 128;
break;
}
break;
}
}