mirror of https://github.com/BOINC/boinc.git
- Manager: fix "exclusive GPU app running" message logic.
svn path=/trunk/boinc/; revision=26136
This commit is contained in:
parent
f0b331e0d2
commit
ea59dd4ff0
|
@ -6033,3 +6033,9 @@ David 21 Sept 2012
|
|||
|
||||
client/
|
||||
app.cpp
|
||||
|
||||
David 21 Sept 2012
|
||||
- Manager: fix "exclusive GPU app running" message logic.
|
||||
|
||||
clientgui/
|
||||
MainDocument.cpp
|
||||
|
|
|
@ -2407,9 +2407,8 @@ wxString suspend_reason_wxstring(int reason) {
|
|||
}
|
||||
|
||||
bool uses_gpu(RESULT* r) {
|
||||
APP_VERSION* avp = r->avp;
|
||||
if (!avp) return false;
|
||||
return (avp->gpu_usage > 0);
|
||||
// kludge. But r->avp isn't populated.
|
||||
return (strstr(r->resources, "GPU") != NULL);
|
||||
}
|
||||
|
||||
wxString result_description(RESULT* result, bool show_resources) {
|
||||
|
|
Loading…
Reference in New Issue