mirror of https://github.com/BOINC/boinc.git
client: Add logging message for insufficient GPU RAM details to coproc_debug flag
svn path=/trunk/boinc/; revision=25074
This commit is contained in:
parent
d4993f3752
commit
ee48c85db6
|
@ -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
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue