Merge pull request #5577 from BOINC/dpa_missing_gpu

client: if GPU is missing, discard app versions and results that refer to it.
This commit is contained in:
Vitalii Koshura 2024-04-15 12:08:07 +02:00 committed by GitHub
commit 627637d475
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 4 deletions

View File

@ -293,10 +293,19 @@ int CLIENT_STATE::parse_state_file_aux(const char* fname) {
}
}
if (avp->missing_coproc) {
msg_printf(project, MSG_INFO,
"Application uses missing %s GPU",
avp->missing_coproc_name
);
if (strstr(avp->missing_coproc_name, "Apple ")) {
msg_printf(project, MSG_INFO,
"App version uses deprecated GPU type '%s' - discarding",
avp->missing_coproc_name
);
delete avp;
continue;
} else {
msg_printf(project, MSG_INFO,
"App version uses missing GPU '%s'",
avp->missing_coproc_name
);
}
}
retval = link_app_version(project, avp);
if (retval) {