From 3edb124ab4b16492d58ce5a6f6e40c2244c97ed6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 24 Feb 2014 15:57:05 -0800 Subject: [PATCH] client/scheduler: NVIDIA compute capability 5 GPUS have 128 cores, not 192 NVIDIA has no plans to provide an API that tells you how many cores; I've asked --- lib/coproc.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/coproc.cpp b/lib/coproc.cpp index 0b4ab5f766..42bfd8ee65 100644 --- a/lib/coproc.cpp +++ b/lib/coproc.cpp @@ -483,10 +483,14 @@ void COPROC_NVIDIA::set_peak_flops() { } break; case 3: - default: flops_per_clock = 2; cores_per_proc = 192; break; + case 5: + default: + flops_per_clock = 2; + cores_per_proc = 128; + break; } // clock rate is scaled down by 1000 //