mirror of https://github.com/BOINC/boinc.git
client: Fix OpenCL NVIDIA GPU enumeration bug I introduced with last checkin
svn path=/trunk/boinc/; revision=25301
This commit is contained in:
parent
015a70e757
commit
ef811a917b
|
@ -1947,3 +1947,10 @@ David 20 Feb 2012
|
|||
client_types.h
|
||||
cs_statefile.cpp
|
||||
cpu_sched.cpp
|
||||
|
||||
Charlie 20 Feb 2012
|
||||
- client: Fix OpenCL NVIDIA GPU enumeration bug I introduced
|
||||
with last checkin.
|
||||
|
||||
client/
|
||||
coproc_detect.cpp
|
||||
|
|
|
@ -405,9 +405,9 @@ strcpy(prop.opencl_driver_version, "CLH 1.0");
|
|||
prop.opencl_available_ram = nvidia_gpus[prop.device_num].available_ram;
|
||||
} else {
|
||||
prop.opencl_available_ram = prop.global_mem_size;
|
||||
++current_CUDA_index;
|
||||
}
|
||||
nvidia_opencls.push_back(prop);
|
||||
++current_CUDA_index;
|
||||
}
|
||||
if ((strstr(prop.vendor, GPU_TYPE_ATI)) ||
|
||||
(strstr(prop.vendor, "AMD")) ||
|
||||
|
|
Loading…
Reference in New Issue