From 79e3e1678688dafdf6db7fd7f139ce9a153e52c5 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 14 Mar 2012 22:51:02 +0000 Subject: [PATCH] client: On Mac only, update ATI available RAM after getting ATI total RAM size from OpenGL svn path=/trunk/boinc/; revision=25428 --- checkin_notes | 7 +++++++ client/coproc_detect.cpp | 1 + 2 files changed, 8 insertions(+) diff --git a/checkin_notes b/checkin_notes index 9fcec36864..b38559b23d 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2657,3 +2657,10 @@ David 14 Mar 2012 sched/ plan_class_spec.cpp,h + +Charlie 14 Mar 2012 + - client: On Mac only, update ATI available RAM after getting ATI total + RAM size from OpenGL. + + client/ + coproc_detect.cpp diff --git a/client/coproc_detect.cpp b/client/coproc_detect.cpp index 8671d17f3c..98e9b9b2ea 100644 --- a/client/coproc_detect.cpp +++ b/client/coproc_detect.cpp @@ -1679,6 +1679,7 @@ void COPROCS::get_ati_mem_size_from_opengl() { (strstr((char *)strVend, "Advanced Micro Devices, Inc."))) ) { ati_opencls[ati_gpu_index].global_mem_size = deviceVRAM; + ati_opencls[ati_gpu_index].opencl_available_ram = deviceVRAM; if (log_flags.coproc_debug) { // For some GPUs, one API returns "ATI" but the other API returns