From 44ccd7829327395e6d86a70c3ca9823f19bf3806 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 28 Mar 2012 17:29:48 +0000 Subject: [PATCH] - client/scheduler: fix error in NVIDIA peak flops calculation svn path=/trunk/boinc/; revision=25501 --- checkin_notes | 6 ++++++ lib/coproc.cpp | 2 ++ vda/vda.cpp | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 239d076801..4a64852661 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3113,3 +3113,9 @@ David 27 Mar 2012 sched/ handle_request.cpp + +David 27 Mar 2012 + - client/scheduler: fix error in NVIDIA peak flops calculation + + lib/ + coproc.cpp diff --git a/lib/coproc.cpp b/lib/coproc.cpp index 5175972edb..b7ab1ce85f 100644 --- a/lib/coproc.cpp +++ b/lib/coproc.cpp @@ -572,10 +572,12 @@ void COPROC_NVIDIA::set_peak_flops() { cores_per_proc = 48; break; } + break; case 3: default: flops_per_clock = 2; cores_per_proc = 192; + break; } // clock rate is scaled down by 1000 // diff --git a/vda/vda.cpp b/vda/vda.cpp index ed21853b5f..2e52690e51 100644 --- a/vda/vda.cpp +++ b/vda/vda.cpp @@ -31,7 +31,7 @@ #include "vda_lib.h" void usage() { - fprintf(stderr, "Usage: vda {add} path\n"); + fprintf(stderr, "Usage: vda [add|remove|retrieve|status] path\n"); exit(1); }