- Client: message tweak for GPU suspend/resume

This commit is contained in:
David Anderson 2013-01-29 23:21:11 -08:00 committed by Oliver Bock
parent 7f4263b079
commit d013b1f74a
1 changed files with 4 additions and 2 deletions

View File

@ -287,12 +287,14 @@ int CLIENT_STATE::check_suspend_processing() {
if (old_gpu_suspend_reason && !gpu_suspend_reason) {
if (log_flags.task) {
msg_printf(NULL, MSG_INFO, "[task] resuming GPU activity");
msg_printf(NULL, MSG_INFO, "[task] Resuming GPU computation");
}
request_schedule_cpus("GPU resumption");
} else if (!old_gpu_suspend_reason && gpu_suspend_reason) {
if (log_flags.task) {
msg_printf(NULL, MSG_INFO, "[task] suspending GPU activity");
msg_printf(NULL, MSG_INFO, "[task] Suspending GPU computation - %s",
suspend_reason_string(gpu_suspend_reason)
);
}
request_schedule_cpus("GPU suspension");
}