mirror of https://github.com/BOINC/boinc.git
svn path=/trunk/boinc/; revision=21226
This commit is contained in:
parent
c3314c640b
commit
71ecfd47a0
|
@ -2967,3 +2967,15 @@ Charlie 19 Apr 2010
|
|||
|
||||
mac_installer/
|
||||
PostInstall.cpp
|
||||
|
||||
David 20 Apr 2010
|
||||
- client: show "waiting for GPU memory" in task status
|
||||
|
||||
client/
|
||||
client_types.cpp
|
||||
cpu_sched.cpp
|
||||
clientgui/
|
||||
ViewWork.cpp
|
||||
lib/
|
||||
gui_rpc_client.h
|
||||
gui_rpc_client_ops.cpp
|
||||
|
|
|
@ -1757,6 +1757,7 @@ int RESULT::write_gui(MIOFILE& out) {
|
|||
if (project->suspended_via_gui) out.printf(" <project_suspended_via_gui/>\n");
|
||||
if (edf_scheduled) out.printf(" <edf_scheduled/>\n");
|
||||
if (coproc_missing) out.printf(" <coproc_missing/>\n");
|
||||
if (schedule_backoff > gstate.now) out.printf(" <gpu_mem_wait/>\n");
|
||||
ACTIVE_TASK* atp = gstate.active_tasks.lookup_result(this);
|
||||
if (atp) {
|
||||
atp->write_gui(out);
|
||||
|
|
|
@ -1114,9 +1114,14 @@ static inline bool get_integer_assignment(
|
|||
if (nfree < usage) {
|
||||
if (log_flags.coproc_debug) {
|
||||
msg_printf(rp->project, MSG_INFO,
|
||||
"[coproc_debug] Insufficient %s for %s; %d < %d",
|
||||
"[coproc_debug] Insufficient %s for %s; need %d, available %d",
|
||||
cp->type, rp->name, nfree, (int)usage
|
||||
);
|
||||
if (defer_sched) {
|
||||
msg_printf(rp->project, MSG_INFO,
|
||||
"[coproc_debug] some instances lack available memory"
|
||||
);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -1185,6 +1185,9 @@ void CViewWork::GetDocStatus(wxInt32 item, wxString& strBuffer) const {
|
|||
} else {
|
||||
strBuffer += _("Ready to start");
|
||||
}
|
||||
if (result->gpu_mem_wait) {
|
||||
strBuffer += _(" (waiting for GPU memory)");
|
||||
}
|
||||
break;
|
||||
case RESULT_COMPUTE_ERROR:
|
||||
strBuffer += _("Computation error");
|
||||
|
|
|
@ -244,6 +244,7 @@ public:
|
|||
bool suspended_via_gui;
|
||||
bool project_suspended_via_gui;
|
||||
bool coproc_missing;
|
||||
bool gpu_mem_wait;
|
||||
|
||||
// the following defined if active
|
||||
bool active_task;
|
||||
|
|
|
@ -458,6 +458,7 @@ int RESULT::parse(MIOFILE& in) {
|
|||
if (parse_bool(buf, "suspended_via_gui", suspended_via_gui)) continue;
|
||||
if (parse_bool(buf, "project_suspended_via_gui", project_suspended_via_gui)) continue;
|
||||
if (parse_bool(buf, "coproc_missing", coproc_missing)) continue;
|
||||
if (parse_bool(buf, "gpu_mem_wait", gpu_mem_wait)) continue;
|
||||
if (match_tag(buf, "<active_task>")) {
|
||||
active_task = true;
|
||||
continue;
|
||||
|
@ -520,6 +521,7 @@ void RESULT::clear() {
|
|||
suspended_via_gui = false;
|
||||
project_suspended_via_gui = false;
|
||||
coproc_missing = false;
|
||||
gpu_mem_wait = false;
|
||||
|
||||
active_task = false;
|
||||
active_task_state = 0;
|
||||
|
|
Loading…
Reference in New Issue