diff --git a/checkin_notes b/checkin_notes index 1fdfebba88..97a22f8c47 100644 --- a/checkin_notes +++ b/checkin_notes @@ -602,3 +602,10 @@ Charlie 16 Jan 2012 coproc_detect.cpp lib/ coproc.cpp,.h + +Charlie 16 Jan 2012 + - client: Add logging message for insufficient GPU RAM details to + coproc_debug flag. + + client/ + cpu_sched.cpp diff --git a/client/cpu_sched.cpp b/client/cpu_sched.cpp index b283ac34bd..1e84e676fc 100644 --- a/client/cpu_sched.cpp +++ b/client/cpu_sched.cpp @@ -1224,6 +1224,12 @@ static inline bool get_integer_assignment( if (!cp->usage[i]) { if (rp->avp->gpu_ram > cp->available_ram_temp[i]) { defer_sched = true; + if (log_flags.coproc_debug) { + msg_printf(rp->project, MSG_INFO, + "[coproc] task %s needs %.0fMB RAM, %s GPU %d has %.0fMB available", + rp->name, rp->avp->gpu_ram, cp->type, i, cp->available_ram_temp[i] + ); + } continue; }; nfree++;