mirror of https://github.com/BOINC/boinc.git
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:
parent
4ce9d9e212
commit
79e3e16786
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue