diff --git a/checkin_notes b/checkin_notes index 9916bb4dd8..fa765f010c 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3800,3 +3800,10 @@ David 19 May 2010 client/ app_control.cpp + +David 20 May 2010 + - scheduler: message tweaks + + sched/ + sched_main.cpp + sched_customize.cpp diff --git a/sched/sched_customize.cpp b/sched/sched_customize.cpp index d384c7ab5f..eccd2b6b2f 100644 --- a/sched/sched_customize.cpp +++ b/sched/sched_customize.cpp @@ -407,6 +407,7 @@ static inline bool app_plan_cuda( add_no_work_message(buf); return false; } + min_ram = CUDA23_MIN_RAM; } else { if (cp->display_driver_version && cp->display_driver_version < CUDA_MIN_DRIVER_VERSION) { if (config.debug_version_select) { @@ -427,8 +428,8 @@ static inline bool app_plan_cuda( if (cp->prop.dtotalGlobalMem < min_ram) { if (config.debug_version_select) { log_messages.printf(MSG_NORMAL, - "[version] CUDA mem %d < %d\n", - cp->prop.dtotalGlobalMem, min_ram + "[version] CUDA mem %.0fMB < %.0fMB\n", + cp->prop.dtotalGlobalMem/MEGA, min_ram/MEGA ); } sprintf(buf, diff --git a/sched/sched_main.cpp b/sched/sched_main.cpp index b03117d2b1..de6bc84157 100644 --- a/sched/sched_main.cpp +++ b/sched/sched_main.cpp @@ -583,6 +583,7 @@ int main(int argc, char** argv) { #endif } else { handle_request(stdin, stdout, code_sign_key); + fflush(stderr); } done: #ifdef _USING_FCGI_