client: On Mac only, update ATI available RAM after getting ATI total RAM size from OpenGL

svn path=/trunk/boinc/; revision=25428
This commit is contained in:
Charlie Fenton 2012-03-14 22:51:02 +00:00
parent 4ce9d9e212
commit 79e3e16786
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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