From ebdcf623d42121d80e57666c64b4b72b0afc5f37 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 17 Feb 2012 02:02:27 +0000 Subject: [PATCH] Add comment svn path=/trunk/boinc/; revision=25278 --- client/coproc_detect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/coproc_detect.cpp b/client/coproc_detect.cpp index b69e507d4d..6715ffaaef 100644 --- a/client/coproc_detect.cpp +++ b/client/coproc_detect.cpp @@ -442,12 +442,13 @@ strcpy(prop.opencl_driver_version, "CLH 1.0"); ); } } - } else { + } else { // ! ati.have_cal COPROC_ATI c; c.opencl_prop = prop; c.set_peak_flops(); prop.peak_flops = c.peak_flops; } + if (ati_gpus.size()) { // Assumes OpenCL and CAL return the same device with the same index prop.opencl_available_ram = ati_gpus[prop.device_num].available_ram;